diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-14 17:54:41 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-14 17:54:41 -0600 |
commit | 5f8e48cbd297aca4add4b48efa2136ba6ac851b1 (patch) | |
tree | 939c7670965015dc0721967204d2c533f597ae46 /actionpack/lib/action_controller | |
parent | ce970a8bb9f124d19d28270b1ffc8c4532bbbcc1 (diff) | |
download | rails-5f8e48cbd297aca4add4b48efa2136ba6ac851b1.tar.gz rails-5f8e48cbd297aca4add4b48efa2136ba6ac851b1.tar.bz2 rails-5f8e48cbd297aca4add4b48efa2136ba6ac851b1.zip |
Move route reloading into railties
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/dispatch/dispatcher.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/dispatch/dispatcher.rb b/actionpack/lib/action_controller/dispatch/dispatcher.rb index e04da42637..cf02757cf6 100644 --- a/actionpack/lib/action_controller/dispatch/dispatcher.rb +++ b/actionpack/lib/action_controller/dispatch/dispatcher.rb @@ -13,11 +13,6 @@ module ActionController # Run prepare callbacks before every request in development mode self.prepare_each_request = true - # Development mode callbacks - ActionDispatch::Callbacks.before_dispatch do |app| - ActionController::Routing::Routes.reload - end - ActionDispatch::Callbacks.after_dispatch do # Cleanup the application before processing the current request. ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord) |