Sha256: 95453eda96333902efbe0555f6d80b799a9bbf22a8bc9b514e3f78f4d12d754d
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
module Spree module Backend class Engine < ::Rails::Engine config.middleware.use "Spree::Backend::Middleware::SeoAssist" config.autoload_paths += %W(#{config.root}/lib) 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[ admin/all.* admin/orders/edit_form.js admin/address_states.js jqPlot/excanvas.min.js admin/images/new.js jquery.jstree/themes/apple/* fontawesome-webfont* ] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems