diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index 0856a26a..068ae2b6 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -99,7 +99,7 @@ module WelcomeHelper #取得论坛数据 def find_hot_forum_topics limit=10 - Memo.order('replies_count DESC').where('replies_count <> 0').limit(limit) + Memo.order('replies_count DESC').where('replies_count <> 0').limit(limit) end def sort_project_by_hot_rails project_type