method

import_channel_in_javascript_entrypoint

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ChannelGenerator
import_channel_in_javascript_entrypoint() 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 68
        def import_channel_in_javascript_entrypoint
          append_to_file "app/javascript/channels/index.js",
            using_js_runtime? ? %(import "./#{file_name}_channel"\n) : %(import "channels/#{file_name}_channel"\n)
        end
Register or log in to add new notes.