Sha256: e5eb8a87755621f15b8a711b9b73101349c90976de5a0c5537ed3d108ba103fb
Contents?: true
Size: 309 Bytes
Versions: 227
Compression:
Stored size: 309 Bytes
Contents
<% 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 -%>
Version data entries
227 entries across 222 versions & 16 rubygems