diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-02 13:12:38 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-02 13:12:38 -0800 |
commit | 2db932da7868dce1b931c8ffbad898ee03af3748 (patch) | |
tree | fa194badd62975e72a9ac54c0bdb306b9199c169 /actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb | |
parent | 8890fb80878ed4d814c5cd4a73f3c1d8694680da (diff) | |
parent | 73f4f4aa8fc33fdd72e98f397b876a5a5e6528cf (diff) | |
download | rails-2db932da7868dce1b931c8ffbad898ee03af3748.tar.gz rails-2db932da7868dce1b931c8ffbad898ee03af3748.tar.bz2 rails-2db932da7868dce1b931c8ffbad898ee03af3748.zip |
Merge pull request #8702 from rubys/master
Fix a number of validation/style errors
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb | 8 |
1 files changed, 4 insertions, 4 deletions
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 d117dc4235..10de228f1d 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 @@ -18,17 +18,17 @@ %> <h2 style="margin-top: 30px">Request</h2> -<p><b>Parameters</b>: <pre><%=h request_dump %></pre></p> +<p><b>Parameters</b>:<p> <pre><%=h request_dump %></pre> <div class="details"> <div class="summary"><a href="#" onclick="s = document.getElementById('session_dump').style; s.display = s.display == 'none' ? 'block' : 'none'; return false;">Toggle session dump</a></div> - <div id="session_dump" style="display:none"><p><pre><%= debug_hash @request.session %></pre></p></div> + <div id="session_dump" style="display:none"><pre><%= debug_hash @request.session %></pre></div> </div> <div class="details"> <div class="summary"><a href="#" onclick="s = document.getElementById('env_dump').style; s.display=='block' ? s.display = s.display == 'none' ? 'block' : 'none'; return false;">Toggle env dump</a></div> - <div id="env_dump" style="display:none"><p><pre><%= debug_hash @request.env.slice(*@request.class::ENV_METHODS) %></pre></p></div> + <div id="env_dump" style="display:none"><pre><%= debug_hash @request.env.slice(*@request.class::ENV_METHODS) %></pre></div> </div> <h2 style="margin-top: 30px">Response</h2> -<p><b>Headers</b>: <pre><%=h defined?(@response) ? @response.headers.inspect.gsub(',', ",\n") : 'None' %></pre></p> +<p><b>Headers</b>:</p> <pre><%=h defined?(@response) ? @response.headers.inspect.gsub(',', ",\n") : 'None' %></pre> |