Skip to content
Snippets Groups Projects
Commit e3000b49 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix categories order in static

parent e6e8b7bd
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ weight: <%= @about.distance_in_days %>
<%= render 'admin/application/summary/static' %>
<% if @about.categories.any? %>
events_categories:
<% @about.categories.each do |category| %>
<% @about.categories.ordered.each do |category| %>
- "<%= category.slug %>"
<% end %>
<% end %>
......
......@@ -15,7 +15,7 @@ authors:
<% end %>
<% if @about.categories.any? %>
posts_categories:
<% @about.categories.each do |category| %>
<% @about.categories.ordered.each do |category| %>
- "<%= category.slug_with_ancestors_slugs %>"
<% end %>
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment