From b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 6 Jan 2013 11:22:25 -0200 Subject: Rename route_wrapper partial layout to table It is used by the table formatter only, and it's already inside a routes directory that namespaces it properly, so calling it just "table" seems simpler. --- actionpack/lib/action_dispatch/routing/inspector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/routing') diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb index 9a5c3a5319..ea3e8357d4 100644 --- a/actionpack/lib/action_dispatch/routing/inspector.rb +++ b/actionpack/lib/action_dispatch/routing/inspector.rb @@ -154,7 +154,7 @@ module ActionDispatch end def result - @view.raw @view.render(layout: "routes/route_wrapper") { + @view.raw @view.render(layout: "routes/table") { @view.raw @buffer.join("\n") } end -- cgit v1.2.3