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_backend-3.0.0.rc4 app/helpers/spree/admin/taxons_helper.rb
spree_backend-3.0.0.rc3 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.4 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.3.7 app/helpers/spree/admin/taxons_helper.rb
spree_backend-3.0.0.rc1 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.3 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.2.9 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.1.12 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.2 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.3.6 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.2.8 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.1.11 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.1 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.0 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.3.5 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.2.7 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.1.10 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.0.13 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.0.rc3 app/helpers/spree/admin/taxons_helper.rb
spree_backend-2.4.0.rc2 app/helpers/spree/admin/taxons_helper.rb