Sha256: 61d548043a6bbbcad4c4f80eecaeacd2300bc6717b19332ba9f939e43dddff53
Contents?: true
Size: 993 Bytes
Versions: 7
Compression:
Stored size: 993 Bytes
Contents
module Spree module Backend class Engine < ::Rails::Engine config.middleware.use "Spree::Backend::Middleware::SeoAssist" initializer "spree.backend.environment", :before => :load_config_initializers do |app| Spree::Backend::Config = Spree::BackendConfiguration.new end # filter sensitive information during logging initializer "spree.params.filter" do |app| app.config.filter_parameters += [:password, :password_confirmation, :number] end # 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/backend/all* spree/backend/orders/edit_form.js spree/backend/address_states.js jqPlot/excanvas.min.js spree/backend/images/new.js fontawesome-webfont* select2_locale* ] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems