Routing Error

<%=h @exception.message %>

<% unless @exception.failures.empty? %>

Failure reasons:

    <% @exception.failures.each do |route, reason| %>
  1. <%=h route.inspect.gsub('\\', '') %> failed because <%=h reason.downcase %>
  2. <% end %>

<% end %> <%= render template: "rescues/_trace" %>

Routes

Routes match in priority from top to bottom

<%= render layout: "routes/route_wrapper" do %> <%= render partial: "routes/route", collection: @routes %> <% end %>