Sha256: 75ee900f4c608591455b0b7e389d92a0346a189491ed13179276cd6e7fbddbaf

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 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

    #initializer "front_end_assets.assets.precompile", group: :all do |app|
      #app.config.assets.precompile += %w(
        #front_end_builds/vendor.css
        #front_end_builds/admin.css
        #front_end_builds/vendor.js
        #front_end_builds/admin.js
      #)
    #end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
front_end_builds-0.0.13 lib/front_end_builds/engine.rb