Froze rails gems
[depot.git] / vendor / rails / actionpack / lib / action_controller / templates / rescues / routing_error.erb
diff --git a/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb b/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb
new file mode 100644 (file)
index 0000000..ccfa858
--- /dev/null
@@ -0,0 +1,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 %>