blob: 77804a8cbbb09109e85a9d6d192f5f79331cff1d (
plain) (
tree)
|
|
<header>
<h1>Routing Error</h1>
</header>
<div id="container">
<h2><%= @exception.message %></h2>
<% unless @exception.failures.empty? %>
<p>
<h2>Failure reasons:</h2>
<ol>
<% @exception.failures.each do |route, reason| %>
<li><code><%= route.inspect.gsub('\\', '') %></code> failed because <%= reason.downcase %></li>
<% end %>
</ol>
</p>
<% end %>
<%= render template: "rescues/_trace" %>
<h2>
Routes
</h2>
<p>
Routes match in priority from top to bottom
</p>
<%= render layout: "routes/route_wrapper" do %>
<%= render partial: "routes/route", collection: @routes %>
<% end %>
|