aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
blob: 1c6b5010a3fa2869f977054e483c254395669e8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<header>
  <h1>
    <%=h @exception.class.to_s %>
    <% if @request.parameters['controller'] %>
      in <%=h @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%=h @request.parameters['action'] %><% end %>
    <% end %>
  </h1>
</header>

<div id="container">
  <h2><%=h @exception.message %></h2>

  <%= render template: "rescues/_source" %>
  <%= render template: "rescues/_trace" %>
  <%= render template: "rescues/_request_and_response" %>
</div>