Sha256: 528abc4413d877998906a03075f45e53f53414accd152b9e35acf2eb2bd0254a

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 Bytes

Contents

<% Rails.application.routes.puffer.each do |(namespace, groups)| %>
  <h2><%= namespace.to_s.humanize %></h2>
  <ul class="navigation">
    <% groups.each do |(group, controllers)| %>
      <li>
        <span><%= group.to_s.humanize %></span>
        <ul class="additional">
          <% controllers.each do |controller| %>
            <li>
              <%= link_to controller.model.model_name.human, send("#{namespace}_#{controller.controller_name}_path") %>
            </li>
          <% end %>
        </ul>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puffer-0.0.18 app/views/puffer_dashboard/index.html.erb
puffer-0.0.17 app/views/puffer_dashboard/index.html.erb
puffer-0.0.16 app/views/puffer_dashboard/index.html.erb