Sha256: ab8b38fd8e2a917e720704eca7d19d5ca3c873cee80c08d065a0c1598791a099

Contents?: true

Size: 588 Bytes

Versions: 22

Compression:

Stored size: 588 Bytes

Contents

module Spree
  module Frontend
    class Engine < ::Rails::Engine
      config.middleware.use "Spree::Frontend::Middleware::SeoAssist"

      # sets the manifests / assets to be precompiled, even when initialize_on_precompile is false
      initializer "spree.assets.precompile", :group => :all do |app|
        app.config.assets.precompile += %w[
          spree/frontend/all*
        ]
      end

      initializer "spree.frontend.environment", :before => :load_config_initializers do |app|
        Spree::Frontend::Config = Spree::FrontendConfiguration.new
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
spree_frontend-2.2.14 lib/spree/frontend/engine.rb
spree_frontend-2.2.13 lib/spree/frontend/engine.rb
spree_frontend-2.2.12 lib/spree/frontend/engine.rb
spree_frontend-2.2.11 lib/spree/frontend/engine.rb
spree_frontend-2.2.10 lib/spree/frontend/engine.rb
spree_frontend-2.2.9 lib/spree/frontend/engine.rb
spree_frontend-2.2.8 lib/spree/frontend/engine.rb
spree_frontend-2.2.7 lib/spree/frontend/engine.rb
spree_frontend-2.4.0.rc2 lib/spree/frontend/engine.rb
spree_frontend-2.4.0.rc1 lib/spree/frontend/engine.rb
spree_frontend-2.3.4 lib/spree/frontend/engine.rb
spree_frontend-2.2.6 lib/spree/frontend/engine.rb
spree_frontend-2.3.3 lib/spree/frontend/engine.rb
spree_frontend-2.3.2 lib/spree/frontend/engine.rb
spree_frontend-2.2.5 lib/spree/frontend/engine.rb
spree_frontend-2.3.1 lib/spree/frontend/engine.rb
spree_frontend-2.2.4 lib/spree/frontend/engine.rb
spree_frontend-2.2.3 lib/spree/frontend/engine.rb
spree_frontend-2.3.0 lib/spree/frontend/engine.rb
spree_frontend-2.2.2 lib/spree/frontend/engine.rb