mirror of
https://github.com/github/rails.git
synced 2026-01-28 07:48:00 -05:00
ensure that the after_initialize hooks are run after the application initializers have run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -87,11 +87,11 @@ module Rails
|
||||
|
||||
load_plugins
|
||||
|
||||
load_application_initializers
|
||||
|
||||
# the framework is now fully initialized
|
||||
after_initialize
|
||||
|
||||
load_application_initializers
|
||||
|
||||
# Routing must be initialized after plugins to allow the former to extend the routes
|
||||
initialize_routing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user