method

pin_javascript_dependencies

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ChannelGenerator
pin_javascript_dependencies() 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 82
        def pin_javascript_dependencies
          append_to_file "config/importmap.rb", pin "@rails/actioncable", to: "actioncable.esm.js"pin_all_from "app/javascript/channels", under: "channels"
        end
Register or log in to add new notes.