diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0c8b6dd07..d9cb24fe3 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -475,9 +475,10 @@ module ApplicationHelper Game.find_by_sql("SELECT sum(final_score) as final_score FROM `games` where myshixun_id='#{myshixun.id}';").first.try(:final_score) end - # def user_blogs_path(resource,parameters={}) - # super - # end + def user_blogs_path(resource,parameters={}) + super + end + # 复制一个任务 def publish_games challenge, myshixun_id, index game = Game.new