diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-02 12:54:16 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-02 12:54:21 +0200 |
commit | 48bf667a8b1c489bd6edff0b8322324a7a1b06bc (patch) | |
tree | 0abae7b918253749988d4e575b31e405e41dfac7 /actionpack | |
parent | 38a421b34d0b414564e919f67d339fac067a56e6 (diff) | |
download | rails-48bf667a8b1c489bd6edff0b8322324a7a1b06bc.tar.gz rails-48bf667a8b1c489bd6edff0b8322324a7a1b06bc.tar.bz2 rails-48bf667a8b1c489bd6edff0b8322324a7a1b06bc.zip |
Ensure routes are loaded only after the initialization process finishes, ensuring all configuration options were applied.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/railtie.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_dispatch/railtie.rb b/actionpack/lib/action_dispatch/railtie.rb index a3af37947a..ed066ad75e 100644 --- a/actionpack/lib/action_dispatch/railtie.rb +++ b/actionpack/lib/action_dispatch/railtie.rb @@ -8,10 +8,5 @@ module ActionDispatch config.action_dispatch.ip_spoofing_check = true config.action_dispatch.show_exceptions = true config.action_dispatch.best_standards_support = true - - # Prepare dispatcher callbacks and run 'prepare' callbacks - initializer "action_dispatch.prepare_dispatcher" do |app| - ActionDispatch::Callbacks.to_prepare { app.routes_reloader.execute_if_updated } - end end end |