Dispatcher processes rescued actions with the same controller that processed the request. Closes #4625.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2006-07-08 01:34:22 +00:00
parent de5b7370dd
commit 7231bfb59c
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
* Ensure the logger is initialized. #5629 [mike@clarkware.com]

View File

@@ -39,7 +39,7 @@ class Dispatcher
end
rescue Object => exception
failsafe_response(output, '500 Internal Server Error', exception) do
ActionController::Base.process_with_exception(request, response, exception).out(output)
ActionController.process_with_exception(request, response, exception).out(output)
end
ensure
# Do not give a failsafe response here.