method

create_shared_channel_files

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ChannelGenerator
create_shared_channel_files() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 38
        def create_shared_channel_files
          return if behavior != :invoke

          copy_file "#{__dir__}/templates/application_cable/channel.rb",
            "app/channels/application_cable/channel.rb"
          copy_file "#{__dir__}/templates/application_cable/connection.rb",
            "app/channels/application_cable/connection.rb"
        end
Register or log in to add new notes.