Sha256: c729b1ca810670580042df9c7a8b03519fc77fc89b4b4cd80493e59ab6edd61f
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
module FrontEndBuilds class Engine < ::Rails::Engine isolate_namespace FrontEndBuilds config.generators do |g| g.test_framework :rspec, fixture: false g.fixture_replacement :factory_girl, dir: 'spec/factories' g.assets false g.helper false end # Initializer to combine this engines static assets with the static assets of the hosting site. initializer "static assets" do |app| app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
front_end_builds-0.0.8 | lib/front_end_builds/engine.rb |
front_end_builds-0.0.7 | lib/front_end_builds/engine.rb |