fix deprecation warning
This commit is contained in:
parent
6115979bae
commit
daae87f6d5
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class FoodsoftConfig
|
|||
}
|
||||
}
|
||||
# allow engines to easily add to this
|
||||
engines = Rails.application.railties.engines.select { |e| e.respond_to?(:default_foodsoft_config) }
|
||||
engines = Rails::Engine::Railties.engines.select { |e| e.respond_to?(:default_foodsoft_config) }
|
||||
engines.each { |e| e.default_foodsoft_config(cfg) }
|
||||
cfg
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue