mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
12 lines
201 B
Ruby
12 lines
201 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Spree
|
|
module Admin
|
|
module TaxonsHelper
|
|
def taxon_path(taxon)
|
|
taxon.ancestors.reverse.collect(&:name).join( " >> ")
|
|
end
|
|
end
|
|
end
|
|
end
|