Module: Spree::Admin::TaxonsHelper

Defined in:
app/helpers/spree/admin/taxons_helper.rb

Instance Method Summary collapse

Instance Method Details

#taxon_path(taxon) ⇒ Object



4
5
6
# File 'app/helpers/spree/admin/taxons_helper.rb', line 4

def taxon_path(taxon)
  taxon.ancestors.reverse.collect { |ancestor| ancestor.name }.join( " >> ")
end