aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-29 07:34:02 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-29 07:34:02 +0000
commitd7674637f9ac7c9764a4fe09dbc15ee239ce5a77 (patch)
treea1e89ae8634b906244a3a37680c22e7dec38ea61 /actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml
parentc0eccc9aef21c3eac9d89d3af93b82ce906b04dd (diff)
downloadrails-d7674637f9ac7c9764a4fe09dbc15ee239ce5a77.tar.gz
rails-d7674637f9ac7c9764a4fe09dbc15ee239ce5a77.tar.bz2
rails-d7674637f9ac7c9764a4fe09dbc15ee239ce5a77.zip
Deprecation: @request will be removed after 1.2. Use the request method instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml')
-rw-r--r--actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml b/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml
index fa48b62f6f..e9faacef09 100644
--- a/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml
+++ b/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml
@@ -1,7 +1,7 @@
<h1>
<%=h @exception.class.to_s %>
- <% if @request.parameters['controller'] %>
- in <%=h @request.parameters['controller'].humanize %>Controller<% if @request.parameters['action'] %>#<%=h @request.parameters['action'] %><% end %>
+ <% if request.parameters['controller'] %>
+ in <%=h request.parameters['controller'].humanize %>Controller<% if request.parameters['action'] %>#<%=h request.parameters['action'] %><% end %>
<% end %>
</h1>
<pre><%=h @exception.clean_message %></pre>