instance method create_shared_channel_javascript_files

Ruby on Rails 8.1.2

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close