1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/middleware/templates/routes/_route.html.erb
brainopia 321db4aa2e Change filter on /rails/info/routes to use an actual path regexp from rails
Change filter on /rails/info/routes to use an actual path regexp from rails
and not approximate javascript version. Oniguruma supports much more
extensive list of features than javascript regexp engine.

Fixes #18402.
2015-02-23 19:57:01 +03:00

16 lines
377 B
Text

<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>
<%= route[:verb] %>
</td>
<td data-route-path='<%= route[:path] %>'>
<%= route[:path] %>
</td>
<td>
<%=simple_format route[:reqs] %>
</td>
</tr>