diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-05 10:36:05 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-05 10:36:05 -0500 |
commit | 20d6938453f439531a13e2ef1fd0905edf56294c (patch) | |
tree | b83f1668b18cff04fc856f32132e81b704876f50 /railties/lib/rails | |
parent | 7de5f69cc6bc9a946afd3a0fa0ec785f9fb94fb5 (diff) | |
download | rails-20d6938453f439531a13e2ef1fd0905edf56294c.tar.gz rails-20d6938453f439531a13e2ef1fd0905edf56294c.tar.bz2 rails-20d6938453f439531a13e2ef1fd0905edf56294c.zip |
Rewrite FCGI handler test
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/fcgi_handler.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/fcgi_handler.rb b/railties/lib/rails/fcgi_handler.rb index ef6f3b094c..77dce5f325 100644 --- a/railties/lib/rails/fcgi_handler.rb +++ b/railties/lib/rails/fcgi_handler.rb @@ -216,7 +216,9 @@ class RailsFCGIHandler def restore! $".replace @features - Dispatcher.reset_application! + # TODO: Reloading the application should be the "Application"s + # responsibility + ActionDispatch::Callbacks.new(lambda {}, true) ActionController::Routing::Routes.reload end |