From 83921b8f87495d5edb66f67549f0c169d2ea3e73 Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Wed, 10 Feb 2016 17:36:11 -0500 Subject: Generate ApplicationCable files if they do not already exist --- .../generators/channel/templates/application_cable/connection.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb (limited to 'actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb') diff --git a/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb new file mode 100644 index 0000000000..b4f41389ad --- /dev/null +++ b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading. +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end -- cgit v1.2.3