aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/routes/_route.html.erb
blob: 24e44f31acf9ee319def78e62a244bd36bb25268 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<tr class='route_row' data-helper='path'>
  <td data-route-name='<%= route[:name] %>'>
    <% if route[:name].present? %>
      <%= route[:name] %><span class='helper'>_path</span>
    <% end %>
  </td>
  <td data-route-verb='<%= route[:verb] %>'>
    <%= route[:verb] %>
  </td>
  <td data-route-path='<%= route[:path] %>' data-regexp='<%= route[:regexp] %>'>
    <%= route[:path] %>
  </td>
  <td data-route-reqs='<%= route[:reqs] %>'>
    <%= route[:reqs] %>
  </td>
</tr>