Move Bess to using to_prepare blocks
This commit is contained in:
parent
92e563c93a
commit
af984f2a90
1 changed files with 2 additions and 3 deletions
|
@ -63,9 +63,8 @@ module Houdini
|
|||
config.houdini.maintenance.active = false
|
||||
|
||||
|
||||
initializer 'houdini.set_configuration', before: 'factory_bot.set_fixture_replacement' do
|
||||
config.before_initialize do |app|
|
||||
|
||||
initializer 'houdini.set_configuration', before: 'factory_bot.set_fixture_replacement' do |app|
|
||||
app.config.to_prepare do
|
||||
Houdini.core_classes = app.config.houdini.core_classes
|
||||
Houdini.support_email = app.config.houdini.support_email || ActionMailer::Base.default[:from]
|
||||
|
||||
|
|
Loading…
Reference in a new issue