title修改
This commit is contained in:
parent
8b87c141cc
commit
0e2e1b09b5
|
@ -1079,6 +1079,8 @@ module ApplicationHelper
|
|||
title << @organization.name
|
||||
elsif @user
|
||||
title << @user.try(:realname)
|
||||
elsif @syllabus
|
||||
title << @syllabus.title
|
||||
else
|
||||
title << (User.current.id == 2 ? "未登录" : User.current.try(:realname))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue