diff options
Diffstat (limited to 'actionpack/lib/action_controller/templates')
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml | 7 |
1 files changed, 0 insertions, 7 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 5f10d91098..d835b8bc9b 100644 --- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml @@ -33,10 +33,6 @@ request_dump = request_parameters_without_action.inspect.gsub(/,/, ",\n") session_dump = @request.session.instance_variable_get("@data").inspect.gsub(/,/, ",\n") response_dump = @response.inspect.gsub(/,/, ",\n") - - template_assigns = @response.template.instance_variable_get("@assigns") - %w( response exception template session request template_root template_class url ignore_missing_templates logger cookies headers params ).each { |t| template_assigns.delete(t) } - template_dump = template_assigns.inspect.gsub(/,/, ",\n") %> <h2 style="margin-top: 30px">Request</h2> @@ -48,6 +44,3 @@ <h2 style="margin-top: 30px">Response</h2> <b>Headers</b>: <%=h @response.headers.inspect.gsub(/,/, ",\n") %><br/> - -<p><a href="#" onclick="document.getElementById('template_dump').style.display='block'; return false;">Show template parameters</a></p> -<div id="template_dump" style="display:none"><%= debug(template_assigns) %></div> |