Sha256: d7878261981097bd924ec955249aa6e24ea6d89f758cff90a97128cb40fd4213
Contents?: true
Size: 885 Bytes
Versions: 4
Compression:
Stored size: 885 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 initializer 'spree.backend.checking_deprecated_preferences' do Spree::Backend::Config.deprecated_preferences.each do |pref| # FIXME: we should only notify about deprecated preferences that are in use, not all of them # warn "[DEPRECATION] Spree::Backend::Config[:#{pref[:name]}] is deprecated. #{pref[:message]}" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems