diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-20 13:37:58 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-20 13:37:58 +0200 |
commit | 772c2b0b862850c29e7f112a5ddeaf1c0ed06408 (patch) | |
tree | c8fe77055ed15aa6596b6f9073f2b69d901b59aa /actionpack | |
parent | 71703c98ba2bf65a6fed94917b039827cb63bace (diff) | |
download | rails-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.rb | 2 |
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 |