sort school categories by root category for Boston

pull/1/head
Jared Cosulich 7 years ago
parent 9c556ec8a3
commit 65bce3b299

@ -15,7 +15,8 @@
- hash
- grouped.each do |root_category, group|
.row.pt-3.mt-3
%h3= root_category.name
.col-12
%h3= root_category.name
.row
= render group.sort { |a, b| a.category.name <=> b.category.name }
- else

Loading…
Cancel
Save