aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/rails/generators/channel/templates/channel.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/lib/rails/generators/channel/templates/channel.rb')
-rw-r--r--actioncable/lib/rails/generators/channel/templates/channel.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/channel.rb b/actioncable/lib/rails/generators/channel/templates/channel.rb
deleted file mode 100644
index 7bff3341c1..0000000000
--- a/actioncable/lib/rails/generators/channel/templates/channel.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading.
-<% module_namespacing do -%>
-class <%= class_name %>Channel < ApplicationCable::Channel
- def subscribed
- # stream_from "some_channel"
- end
-
- def unsubscribed
- # Any cleanup needed when channel is unsubscribed
- end
-<% actions.each do |action| -%>
-
- def <%= action %>
- end
-<% end -%>
-end
-<% end -%>