You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- categories = [category]
|
|
- categories << category while (category = category.parent_category).present?
|
|
= categories.reverse.map { |category| link_to(category.name, category) }.join(' | ').html_safe
|