instance method
create_shared_channel_javascript_files
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
create_shared_channel_javascript_files()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 54
def create_shared_channel_javascript_files
template "javascript/index.js", "app/javascript/channels/index.js"
template "javascript/consumer.js", "app/javascript/channels/consumer.js"
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 54
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator