Sha256: c84fc5e50b5e88808712fb12754195d443c924560a619821ec391bd2932a3ef9

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

class Solder::StimulusGenerator < Rails::Generators::Base
  source_root File.expand_path("templates", __dir__)

  def copy_controller_template
    template "solder_controller.js.tt", Rails.root.join("app/javascript/controllers/solder_controller.js")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solder-0.3.0 lib/generators/solder/stimulus/stimulus_generator.rb