Sha256: d42a224fc9ce916405ffd3d00ab2938b3e2c30a87ddb4741eb3b23a8c43001ef

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

<% if buoys.any? %>
  <ol class="breadcrumb">
    <% buoys.each do |link| %>
      <li>
        <%# if `link.current?` is true, link.options includes {class: 'current'}. %>
        <% if link.current? %>
          <span><%= link.text %></span>
        <% else %>
          <%= link_to link.text, link.url, link.options %>
        <% end %>
      </li>
    <% end %>
  </ol>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
buoys-0.5.0 lib/generators/buoys/templates/_buoys.html.erb
buoys-0.4.0 lib/generators/buoys/templates/_buoys.html.erb
buoys-0.3.0 lib/generators/buoys/templates/_buoys.html.erb
buoys-0.2.0 lib/generators/buoys/templates/_buoys.html.erb
buoys-0.1.0 lib/generators/buoys/templates/_buoys.html.erb