aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-06 18:25:01 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-06 18:25:01 +0000
commit0ffb6c16258b5c39a7417f4563edf0fc7542c9ae (patch)
tree2242cb28635f99410268f48d0415e97b4c5a5de1 /actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
parented14042feac6ff84670958fc3e2017aaacac5856 (diff)
downloadrails-0ffb6c16258b5c39a7417f4563edf0fc7542c9ae.tar.gz
rails-0ffb6c16258b5c39a7417f4563edf0fc7542c9ae.tar.bz2
rails-0ffb6c16258b5c39a7417f4563edf0fc7542c9ae.zip
Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml')
-rw-r--r--actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
index f1b4a2a1dd..d1703b0440 100644
--- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
+++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml
@@ -1,6 +1,4 @@
<%
- base_dir = File.expand_path(File.dirname(__FILE__))
-
request_parameters_without_action = @request.parameters.clone
request_parameters_without_action.delete("action")
request_parameters_without_action.delete("controller")