Sha256: 9d74630947afff3ddf537fc2284605b4f8b821faac5859afacea5d1bad80de60

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

<div class="container">
  <div>
    <table class="table table-bordered table-condensed">
      <thead>
        <tr>
          <th>name</th>
          <th>method</th>
          <th>path</th>
          <th>app</th>
        </tr>
      </thead>
      <tbody>
        <% name = nil %>
        <% @routes.each do |route| %>
        <tr>
          <td><%= name = route.name || name %></td>
          <td><%= route.constraints[:request_method].inspect.gsub(/(nil)|[\/^$]/,"") %></td>
          <td><%= route.path.spec %></td>
          <td><%= route.defaults %></td>
        </tr>
        <% end %>
      </tbody>
    </table>
  </div><!--/span-->
</div><!--/.fluid-container-->

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
railstar-0.0.10 app/views/railstar/general/routes.html.erb
railstar-0.0.9 app/views/railstar/general/routes.html.erb
railstar-0.0.8 app/views/railstar/general/routes.html.erb
railstar-0.0.7 app/views/railstar/general/routes.html.erb