diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index c5ac62024..545f4da7d 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -84,7 +84,14 @@ module WelcomeHelper def sort_contest_by_hot return sort_bid_by_hot_rails 2 end - +#取得所有活动 + def find_all_activities + + end +#取得论坛数据 + def find_hot_forum_topics + + end def sort_project_by_hot_rails project_type limit = 10 project_type == 0 ? Project.find_by_sql(" diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 6bf624eb6..95b0f92fa 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -167,7 +167,7 @@

1分钟前     评论(4)

-
  • +