博客路由定义
This commit is contained in:
parent
9660025ba3
commit
36484ee395
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue