Sha256: b83fffc1fde3303b4d142256a73f074973ae6c471259b1a8481dc9ec287faa6f
Contents?: true
Size: 1.04 KB
Versions: 30
Compression:
Stored size: 1.04 KB
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 jquery.jstree/themes/apple/* fontawesome-webfont* select2_locale* jquery.alerts/images/* ] end end end end
Version data entries
30 entries across 30 versions & 2 rubygems