Sha256: f3b1e14150fd17a4bbc77aa4af97265435b4114d52c090c3de120f3d3da0db2a

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

<% max_level = Spree::Config[:max_level_in_taxons_menu] || 1 %>

<nav class="taxonomies">
  <% cache [I18n.locale, taxonomies, max_level] do %>
    <% taxonomies.each do |taxonomy| %>
      <% cache [I18n.locale, taxonomy, @taxon, max_level] do %>
        <%= render(
          'spree/components/navigation/taxons_tree',
          title: t('spree.shop_by_taxonomy', taxonomy: taxonomy.name),
          root: taxonomy.root,
          current: @taxon,
          depth: max_level,
          base_class: 'taxonomy') %>
      <% end %>
    <% end %>
  <% end %>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/navigation/_taxonomies.html.erb