Sha256: aa32a27a58ed9edbfaf5a9883cda1398030d300bb47d76e5a34ac48137de59af

Contents?: true

Size: 238 Bytes

Versions: 11

Compression:

Stored size: 238 Bytes

Contents

module Stimulus
  class Engine < ::Rails::Engine
    initializer "stimulus.assets" do
      if Rails.application.config.respond_to?(:assets)
        Rails.application.config.assets.precompile += %w( stimulus )
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stimulus-rails-0.6.0 lib/stimulus/engine.rb
stimulus-rails-0.5.4 lib/stimulus/engine.rb
stimulus-rails-0.5.3 lib/stimulus/engine.rb
stimulus-rails-0.5.2 lib/stimulus/engine.rb
stimulus-rails-0.5.1 lib/stimulus/engine.rb
stimulus-rails-0.5.0 lib/stimulus/engine.rb
stimulus-rails-0.4.2 lib/stimulus/engine.rb
stimulus-rails-0.4.1 lib/stimulus/engine.rb
stimulus-rails-0.4.0 lib/stimulus/engine.rb
stimulus-rails-0.3.11 lib/stimulus/engine.rb
stimulus-rails-0.3.10 lib/stimulus/engine.rb