Permalink
Browse files

Partial revert of commit #7fae0aa4ac116 removing action_dispatch.prep…

  • Loading branch information...
1 parent a87b92d commit 8b66c91c51bfc163fa8c2af019a1a6f64c3e6a53 @mikel mikel committed Sep 11, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/lib/action_dispatch/railtie.rb
@@ -10,11 +10,6 @@ class Railtie < Rails::Railtie
config.action_dispatch.best_standards_support = true
config.action_dispatch.tld_length = 1
- # 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
-
initializer "action_dispatch.configure" do |app|
ActionDispatch::Http::URL.tld_length = app.config.action_dispatch.tld_length
end

0 comments on commit 8b66c91

Please sign in to comment.