mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
321db4aa2e
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.
16 lines
377 B
Text
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>
|