Sha256: 9af29fb5709d0b676c3def18f70083f996bb3fca72280af23f45af34c3070cdf
Contents?: true
Size: 1.17 KB
Versions: 5
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/apple/* fontawesome-webfont* select2_locale* jquery.alerts/images/* ] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems