app/views/railstar/general/routes.html.erb in railstar-0.0.10 vs app/views/railstar/general/routes.html.erb in railstar-0.0.11
- old
+ new
@@ -8,13 +8,12 @@
<th>path</th>
<th>app</th>
</tr>
</thead>
<tbody>
- <% name = nil %>
<% @routes.each do |route| %>
<tr>
- <td><%= name = route.name || name %></td>
+ <td><%= route.name %></td>
<td><%= route.constraints[:request_method].inspect.gsub(/(nil)|[\/^$]/,"") %></td>
<td><%= route.path.spec %></td>
<td><%= route.defaults %></td>
</tr>
<% end %>