博客路由定义

This commit is contained in:
huang 2017-10-17 09:26:31 +08:00
parent 9660025ba3
commit 36484ee395
1 changed files with 4 additions and 3 deletions

View File

@ -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