diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 11:22:25 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 11:22:26 -0200 |
commit | b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2 (patch) | |
tree | 0dd8d275b04e92aaec5ab565919c3dd1678edf61 /actionpack | |
parent | 3abb76824b87ad7142e43d764ef09bac73c2066d (diff) | |
download | rails-b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2.tar.gz rails-b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2.tar.bz2 rails-b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2.zip |
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.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb (renamed from actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb) | 0 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/routing/inspector.rb | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb index 9026c4eeb2..9026c4eeb2 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb 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 |