Sha256: d980e1e3aa7ca20590d21674086f07894da7ea6f31916a1700f4bb8ab1287859

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

<div class="row">
  <div class="span5">
    <ul class="well nav nav-list">
      <% @routes.each do |controller, routes| %>
        <li class="nav-header"><%= controller %></li>
        <% routes.each do |route| %>
          <li>
            <a class="show-api" href="<%= route_path(route[:id]) %>">
              <div class="label-api label-api-full">
                <span class="label label-important"><%= route[:verb] %></span>
              </div>
              <strong><%= route[:path] %></strong>
            </a>
          </li>
        <% end %>
      <% end %>
    </ul>
  </div>
  <div id="show-api-div" class="span7">
    <div class="alert alert-block alert-info">
      <h3>Select an API endpoint on the left to get started. :)</h3>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api_taster-0.2.0 app/views/api_taster/routes/index.html.erb
api_taster-0.1.0 app/views/api_taster/routes/index.html.erb