Sha256: 9e19ec2a905dceec7e84d0e256705fd9abeedd49a92d6395f2a4bb6d48a5378f
Contents?: true
Size: 1.17 KB
Versions: 29
Compression:
Stored size: 1.17 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.paths << "#{Rails.root}/app/assets/fonts" app.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/ 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/spree/* fontawesome-webfont* select2_locale* jquery.alerts/images/* ] end end end end
Version data entries
29 entries across 29 versions & 1 rubygems