Don't clean likes after topic/comment trash

This commit is contained in:
Rei
2014-04-05 11:09:15 +08:00
parent dd53c270d8
commit 5a18d47294
5 changed files with 3 additions and 27 deletions

View File

@@ -11,7 +11,7 @@
li
a href=topics_path
= t '.all_categories'
- Category.all.each do |category|
- Category.order(topics_count: :desc).each do |category|
li
a href=categoried_topics_path(category_id: category.slug)
= category.name