From bb932d5e9867713d0df738864b7f08e22f49b5e8 Mon Sep 17 00:00:00 2001
From: Gosha Arinich
Date: Wed, 2 Jan 2013 15:23:34 +0300
Subject: allow toggling dumps instead of just showing
---
.../middleware/templates/rescues/_request_and_response.erb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb')
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
index 55079848bd..d117dc4235 100644
--- a/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
+++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
@@ -1,6 +1,6 @@
<% unless @exception.blamed_files.blank? %>
<% if (hide = @exception.blamed_files.length > 8) %>
- Show blamed files
+ Toggle blamed files
<% end %>
><%=h @exception.describe_blame %>
<% end %>
@@ -21,12 +21,12 @@
Parameters:
<%=h request_dump %>
-
+
<%= debug_hash @request.session %>
-
+
<%= debug_hash @request.env.slice(*@request.class::ENV_METHODS) %>
--
cgit v1.2.3