aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-06 11:19:24 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-06 11:19:30 -0200
commit3abb76824b87ad7142e43d764ef09bac73c2066d (patch)
tree8f93e58d4a39ed6c941a5a63daf20c978b32989e /actionpack/lib/action_dispatch/middleware/templates
parentf18078475efce9eeef27d64044058539517b0260 (diff)
downloadrails-3abb76824b87ad7142e43d764ef09bac73c2066d.tar.gz
rails-3abb76824b87ad7142e43d764ef09bac73c2066d.tar.bz2
rails-3abb76824b87ad7142e43d764ef09bac73c2066d.zip
Move table routes formatter class to the inspector and rename it
It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates')
-rw-r--r--actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb2
1 files changed, 1 insertions, 1 deletions
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 3e55b23025..61690d3e50 100644
--- a/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
+++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
@@ -25,6 +25,6 @@
Routes match in priority from top to bottom
</p>
- <%= @routes_inspector.format(ActionDispatch::DebugExceptions::TableRoutesFormatter.new(self)) %>
+ <%= @routes_inspector.format(ActionDispatch::Routing::HtmlTableFormatter.new(self)) %>
<% end %>
</div>