Skip to content

Commit

Permalink
Partial revert of commit #7fae0aa4ac116 removing action_dispatch.prep…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel committed Sep 11, 2010
1 parent a87b92d commit 8b66c91
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions actionpack/lib/action_dispatch/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b66c91

Please sign in to comment.