<% name = nil %> <% @routes.each do |route| %> <% end %>
name method path app
<%= name = route.name || name %> <%= route.constraints[:request_method].inspect.gsub(/(nil)|[\/^$]/,"") %> <%= route.path.spec %> <%= route.defaults %>