aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-05 10:36:05 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-05 10:36:05 -0500
commit20d6938453f439531a13e2ef1fd0905edf56294c (patch)
treeb83f1668b18cff04fc856f32132e81b704876f50 /railties/lib
parent7de5f69cc6bc9a946afd3a0fa0ec785f9fb94fb5 (diff)
downloadrails-20d6938453f439531a13e2ef1fd0905edf56294c.tar.gz
rails-20d6938453f439531a13e2ef1fd0905edf56294c.tar.bz2
rails-20d6938453f439531a13e2ef1fd0905edf56294c.zip
Rewrite FCGI handler test
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/fcgi_handler.rb4
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