diff options
author | José Valim <jose.valim@gmail.com> | 2010-05-18 02:07:59 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-18 02:07:59 +0200 |
commit | 0c3cde404ac45d59439c324a4a13ec239c582a5c (patch) | |
tree | 46274100352f2d7b2524500062b14383d6df390e /actionpack/lib/action_dispatch | |
parent | 25f7c030e4ea440ea6c2a84c92118299753392d9 (diff) | |
download | rails-0c3cde404ac45d59439c324a4a13ec239c582a5c.tar.gz rails-0c3cde404ac45d59439c324a4a13ec239c582a5c.tar.bz2 rails-0c3cde404ac45d59439c324a4a13ec239c582a5c.zip |
Kill legacy dispatcher.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/railtie.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/railtie.rb b/actionpack/lib/action_dispatch/railtie.rb index 004c254e55..38da44d7e7 100644 --- a/actionpack/lib/action_dispatch/railtie.rb +++ b/actionpack/lib/action_dispatch/railtie.rb @@ -10,8 +10,6 @@ module ActionDispatch # Prepare dispatcher callbacks and run 'prepare' callbacks initializer "action_dispatch.prepare_dispatcher" do |app| - # TODO: This used to say unless defined?(Dispatcher). Find out why and fix. - require 'rails/dispatcher' ActionDispatch::Callbacks.to_prepare { app.routes_reloader.reload_if_changed } end end |