Source

RubyLearning / ProjectTrak / vendor / rails / actionpack / lib / action_controller / templates / rescues / diagnostics.erb

Full commit
<h1>
  <%=h @exception.class.to_s %>
  <% if request.parameters['controller'] %>
    in <%=h request.parameters['controller'].humanize %>Controller<% if request.parameters['action'] %>#<%=h request.parameters['action'] %><% end %>
  <% end %>
</h1>
<pre><%=h @exception.clean_message %></pre>

<%= render(:file => @rescues_path + "/_trace.erb") %>

<%= render(:file => @rescues_path + "/_request_and_response.erb") %>