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. --- .../templates/routes/_route_wrapper.html.erb | 56 ---------------------- .../middleware/templates/routes/_table.html.erb | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb create mode 100644 actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb (limited to 'actionpack/lib/action_dispatch/middleware') diff --git a/actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb b/actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb deleted file mode 100644 index 9026c4eeb2..0000000000 --- a/actionpack/lib/action_dispatch/middleware/templates/routes/_route_wrapper.html.erb +++ /dev/null @@ -1,56 +0,0 @@ -<% content_for :style do %> - #route_table td { padding: 0 30px; } - #route_table { margin: 0 auto 0; } -<% end %> - - - - - - - - - - - - <%= yield %> - -
Helper
- <%= link_to "Path", "#", 'data-route-helper' => '_path', - title: "Returns a relative path (without the http or domain)" %> / - <%= link_to "Url", "#", 'data-route-helper' => '_url', - title: "Returns an absolute url (with the http and domain)" %> -
HTTP VerbPathController#Action
- - diff --git a/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb new file mode 100644 index 0000000000..9026c4eeb2 --- /dev/null +++ b/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb @@ -0,0 +1,56 @@ +<% content_for :style do %> + #route_table td { padding: 0 30px; } + #route_table { margin: 0 auto 0; } +<% end %> + + + + + + + + + + + + <%= yield %> + +
Helper
+ <%= link_to "Path", "#", 'data-route-helper' => '_path', + title: "Returns a relative path (without the http or domain)" %> / + <%= link_to "Url", "#", 'data-route-helper' => '_url', + title: "Returns an absolute url (with the http and domain)" %> +
HTTP VerbPathController#Action
+ + -- cgit v1.2.3