mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-01 13:10:58 -05:00
Order forums by name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user