Fix simple rubocop issues in helper

This commit is contained in:
luisramos0
2019-09-17 17:54:29 +01:00
parent 9291bf5c82
commit c66579a22f

View File

@@ -2,7 +2,7 @@ module Spree
module Admin
module TaxonsHelper
def taxon_path(taxon)
taxon.ancestors.reverse.collect { |ancestor| ancestor.name }.join( " >> ")
taxon.ancestors.reverse.collect(&:name).join( " >> ")
end
end
end