method

import_channels_in_javascript_entrypoint

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ChannelGenerator
import_channels_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 63
        def import_channels_in_javascript_entrypoint
          append_to_file "app/javascript/application.js",
            using_js_runtime? ? %(import "./channels"\n) : %(import "channels"\n)
        end
Register or log in to add new notes.