aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-06-20 13:37:58 +0200
committerJosé Valim <jose.valim@gmail.com>2010-06-20 13:37:58 +0200
commit772c2b0b862850c29e7f112a5ddeaf1c0ed06408 (patch)
treec8fe77055ed15aa6596b6f9073f2b69d901b59aa /actionpack
parent71703c98ba2bf65a6fed94917b039827cb63bace (diff)
downloadrails-772c2b0b862850c29e7f112a5ddeaf1c0ed06408.tar.gz
rails-772c2b0b862850c29e7f112a5ddeaf1c0ed06408.tar.bz2
rails-772c2b0b862850c29e7f112a5ddeaf1c0ed06408.zip
Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/railtie.rb b/actionpack/lib/action_dispatch/railtie.rb
index 38da44d7e7..ed93211255 100644
--- a/actionpack/lib/action_dispatch/railtie.rb
+++ b/actionpack/lib/action_dispatch/railtie.rb
@@ -10,7 +10,7 @@ module ActionDispatch
# Prepare dispatcher callbacks and run 'prepare' callbacks
initializer "action_dispatch.prepare_dispatcher" do |app|
- ActionDispatch::Callbacks.to_prepare { app.routes_reloader.reload_if_changed }
+ ActionDispatch::Callbacks.to_prepare { app.routes_reloader.execute_if_updated }
end
end
end \ No newline at end of file