Sha256: 950c9467ff4916d9ec64b72f9d9bf9864afd5485d2bc0f0a8d67f0dafa22831b
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
require 'rails' unless defined?(Rails) class EngineAssets::Engine < Rails::Engine def initialize(*args) super(*args) EngineAssets::PublicLocator.paths.each do |path| Rails.configuration.middleware.use ::ActionDispatch::Static, path end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
engine-assets-0.6.0.pre1 | lib/engine_assets/engine.rb |