diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-08 01:34:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-07-08 01:34:22 +0000 |
commit | 7231bfb59c03e55dd33fbe082a15ef5a558f79ee (patch) | |
tree | 88fe040d557d11dcc1c70d1c114839a21359af90 | |
parent | de5b7370ddb988fa4342c56b9c8e7857c420c0ac (diff) | |
download | rails-7231bfb59c03e55dd33fbe082a15ef5a558f79ee.tar.gz rails-7231bfb59c03e55dd33fbe082a15ef5a558f79ee.tar.bz2 rails-7231bfb59c03e55dd33fbe082a15ef5a558f79ee.zip |
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
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 8856530b6e..5d6907498f 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -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] diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index 6290be3774..f43dc9f4c8 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -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. |