sort school categories by root category for Boston

This commit is contained in:
Jared Cosulich 2019-03-08 10:27:53 -05:00
parent 9c556ec8a3
commit 65bce3b299

View file

@ -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