竞赛社区首页点击竞赛列表后,标签的名称变更了,应该始终显示“竞赛”
This commit is contained in:
parent
7f7edf53ac
commit
79ba4cd9b7
|
@ -4087,6 +4087,7 @@ class UsersController < ApplicationController
|
|||
# 用户竞赛列表
|
||||
def user_contestlist
|
||||
# 我创建的竞赛
|
||||
@contest_community = "竞赛"
|
||||
@my_contests = @user.contests.where(:user_id => @user.id).order("created_at desc")
|
||||
@my_contests_count = @my_contests.count
|
||||
# 我参与的竞赛
|
||||
|
|
Loading…
Reference in New Issue