% content_for :style do %> #route_table { margin: 0 auto 0; border-collapse: collapse; } #route_table td { padding: 0 30px; } #route_table tr.bottom th { padding-bottom: 10px; line-height: 15px; } #route_table .matched_paths { background-color: LightGoldenRodYellow; } #route_table .matched_paths { border-bottom: solid 3px SlateGrey; } #path_search { width: 80%; font-size: inherit; } <% end %>
Helper | HTTP Verb | Path | Controller#Action |
---|---|---|---|
<%# 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 Verb %> | <%# Path %> <%= search_field(:path, nil, id: 'path_search', placeholder: "Path Match") %> | <%# Controller#action %> |