From 36484ee3959ac4433f1b5b02744e690a2bcdfae0 Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 17 Oct 2017 09:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E8=B7=AF=E7=94=B1=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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