Order forums by name

This commit is contained in:
Brenda Wallace committed 2017-12-07 13:42:48 +13:00
1 parent 35d8461811
commit cd35538b83
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
= render partial: "posts/summary", locals: { posts: posts, howmany: 6 }
- cache cache_key_for(Forum) do
- forums = Forum.all
- forums = Forum.all.order(:name)
- if forums
%ul.list-inline
%li