Sha256: c1e56acb686fd1e972373a06e5cdb7a84aedeaf865ed6dcf09a1a3e187784973

Contents?: true

Size: 191 Bytes

Versions: 166

Compression:

Stored size: 191 Bytes

Contents

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

Version data entries

166 entries across 166 versions & 4 rubygems

Version Path
spree_core-1.3.2 app/helpers/spree/admin/taxons_helper.rb
spree_core-1.3.1 app/helpers/spree/admin/taxons_helper.rb
spree_core-1.3.0 app/helpers/spree/admin/taxons_helper.rb
spree_core-1.3.0.rc2 app/helpers/spree/admin/taxons_helper.rb
dup_spree_core-1.3.0.rc1 app/helpers/spree/admin/taxons_helper.rb
spree_core-1.3.0.rc1 app/helpers/spree/admin/taxons_helper.rb