Sha256: 2e55628b79114cc18b11be53e0ac62965320bb009029d45b4467da85bbc0ddb5

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

<% categories = Spree::Taxonomy.includes(root: :children).first %>

<nav class="categories">
  <% cache [I18n.locale, categories, @taxon] do %>
    <%= render(
      'spree/components/navigation/taxons_tree',
      root: categories.root,
      current: @taxon,
      depth: 1,
      base_class: 'categories') if categories %>
  <% 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/_categories.html.erb