aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-01-01 13:13:48 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2011-01-01 13:20:00 -0200
commit9bc879d42a39971f26bda182ca01af30fc70a46e (patch)
treedd4df574fd92d7266a57b5efcf49b4186c5d8049 /actionpack
parent27ea0481bb68b2a09ade4f442beea3eac812b72c (diff)
downloadrails-9bc879d42a39971f26bda182ca01af30fc70a46e.tar.gz
rails-9bc879d42a39971f26bda182ca01af30fc70a46e.tar.bz2
rails-9bc879d42a39971f26bda182ca01af30fc70a46e.zip
This is not needed anymore
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb
index 02fa18211d..303b62c3a7 100644
--- a/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb
+++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb
@@ -13,9 +13,6 @@
<p><%=h @exception.sub_template_message %></p>
-<% @real_exception = @exception
- @exception = @exception.original_exception || @exception %>
<%= render :file => "rescues/_trace.erb" %>
-<% @exception = @real_exception %>
<%= render :file => "rescues/_request_and_response.erb" %>