Sha256: f260eea47dba4642773dff51b39a4244357b63a312538d4a3d8efb5f6120680a
Contents?: true
Size: 1.02 KB
Versions: 55
Compression:
Stored size: 1.02 KB
Contents
<div class="table-responsive"> <table class="table table-sm rrf-routes"> <thead> <tr> <th scope="col">Path</th> <th scope="col">Verb</th> <th scope="col">Controller#Action</th> </tr> </thead> <%# Render first group of routes directly. %> <tbody> <% @route_groups.values[0].each do |route| %> <%= render partial: "rest_framework/route", locals: {route: route} %> <% end %> </tbody> <%# Render any other groups under dropdowns. %> <% @route_groups.drop(1).each_with_index do |(name, route_group), index| %> <tr data-bs-toggle="collapse" data-bs-target="#route-group-<%= index %>" class="rrf-route-group-header"> <td colspan="3" class="text-center user-select-none"><%= name %></td> </tr> <tbody id="route-group-<%= index %>" class="collapse"> <% route_group.each do |route| %> <%= render partial: "rest_framework/route", locals: {route: route} %> <% end %> </tbody> <% end %> </table> </div>
Version data entries
55 entries across 55 versions & 1 rubygems