2005-02-14 20:45:35 -05:00
|
|
|
<h1>Routing Error</h1>
|
2005-03-31 09:46:11 -05:00
|
|
|
<p><pre><%=h @exception.message %></pre></p>
|
2005-02-14 20:45:35 -05:00
|
|
|
<% unless @exception.failures.empty? %><p>
|
|
|
|
<h2>Failure reasons:</h2>
|
2005-03-31 09:46:11 -05:00
|
|
|
<ol>
|
2005-02-14 20:45:35 -05:00
|
|
|
<% @exception.failures.each do |route, reason| %>
|
2005-03-31 09:46:11 -05:00
|
|
|
<li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li>
|
2005-02-14 20:45:35 -05:00
|
|
|
<% end %>
|
2005-03-31 09:46:11 -05:00
|
|
|
</ol>
|
2005-02-14 20:45:35 -05:00
|
|
|
</p><% end %>
|