aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
blob: ccfa858ccecb153bb4ad8bdf06e8d4d6dd86f6f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                                     
<h1>Routing Error</h1>
<p><pre><%=h @exception.message %></pre></p>
<% unless @exception.failures.empty? %><p>
  <h2>Failure reasons:</h2>
  <ol>
  <% @exception.failures.each do |route, reason| %>
    <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
  <% end %>
  </ol>
</p><% end %>