run prepare callbacks after after_initialize blocks so config.to_prepare actually works
This commit is contained in:
parent
9a80e97d58
commit
90f6062f7d
|
@ -135,12 +135,12 @@ module Rails
|
|||
|
||||
load_application_initializers
|
||||
|
||||
# Prepare dispatcher callbacks and run 'prepare' callbacks
|
||||
prepare_dispatcher
|
||||
|
||||
# the framework is now fully initialized
|
||||
after_initialize
|
||||
|
||||
# Prepare dispatcher callbacks and run 'prepare' callbacks
|
||||
prepare_dispatcher
|
||||
|
||||
# Routing must be initialized after plugins to allow the former to extend the routes
|
||||
initialize_routing
|
||||
|
||||
|
|
Loading…
Reference in New Issue