aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/rescues/template_error.rhtml
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-10-02 16:32:51 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-10-02 16:32:51 +0000
commit297ac55b295bd73f9f862e608639e62a9c444e84 (patch)
tree59cd3817d6b7245190029b443e38045f79cc7c9c /actionpack/lib/action_controller/templates/rescues/template_error.rhtml
parent163a7123e5d68ebde0cb80685a9584662cdf4ad3 (diff)
downloadrails-297ac55b295bd73f9f862e608639e62a9c444e84.tar.gz
rails-297ac55b295bd73f9f862e608639e62a9c444e84.tar.bz2
rails-297ac55b295bd73f9f862e608639e62a9c444e84.zip
use instance vars in rescue templates since controller may not be instantiated yet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues/template_error.rhtml')
-rw-r--r--actionpack/lib/action_controller/templates/rescues/template_error.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/template_error.rhtml b/actionpack/lib/action_controller/templates/rescues/template_error.rhtml
index 827d66467d..2cf812cd5f 100644
--- a/actionpack/lib/action_controller/templates/rescues/template_error.rhtml
+++ b/actionpack/lib/action_controller/templates/rescues/template_error.rhtml
@@ -1,6 +1,6 @@
<h1>
<%=h @exception.original_exception.class.to_s %> in
- <%=h request.parameters["controller"].capitalize if request.parameters["controller"]%>#<%=h request.parameters["action"] %>
+ <%=h @request.parameters["controller"].capitalize if @request.parameters["controller"]%>#<%=h @request.parameters["action"] %>
</h1>
<p>