From c1eaff00b748ab976d3a99d00468da60f25a8e8d Mon Sep 17 00:00:00 2001
From: Carlos Antonio da Silva
Date: Sat, 5 Jan 2013 12:02:18 -0200
Subject: Close container div tag in routing error page
---
.../middleware/templates/rescues/routing_error.erb | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
(limited to 'actionpack/lib/action_dispatch')
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
index 9463da520b..3e55b23025 100644
--- a/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
+++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
@@ -13,16 +13,18 @@
<% end %>
+
<%= render template: "rescues/_trace" %>
-<% if @routes_inspector %>
-
- Routes
-
+ <% if @routes_inspector %>
+
+ Routes
+
-
- Routes match in priority from top to bottom
-
+
+ Routes match in priority from top to bottom
+
- <%= @routes_inspector.format(ActionDispatch::DebugExceptions::TableRoutesFormatter.new(self)) %>
-<% end %>
+ <%= @routes_inspector.format(ActionDispatch::DebugExceptions::TableRoutesFormatter.new(self)) %>
+ <% end %>
+
--
cgit v1.2.3