instance method
create_shared_channel_javascript_files
Ruby on Rails 7.1.6
Since v7.0.10 PrivateSignature
create_shared_channel_javascript_files()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 52
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 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator