Module: Admin::TaxonsHelper

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

Instance Method Summary collapse

Instance Method Details

#taxon_path(taxon) ⇒ Object



2
3
4
# File 'app/helpers/admin/taxons_helper.rb', line 2

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