未登录状态下anonymos改为未登录
This commit is contained in:
parent
df8df117a8
commit
bfa447c195
|
@ -1080,7 +1080,7 @@ module ApplicationHelper
|
|||
elsif @user
|
||||
title << @user.try(:realname)
|
||||
else
|
||||
title << User.current.try(:realname)
|
||||
title << (User.current.id == 2 ? "未登录" : User.current.try(:realname))
|
||||
end
|
||||
if first_page.nil? || first_page.web_title.nil?
|
||||
title << Setting.app_title unless Setting.app_title == title.last
|
||||
|
|
Loading…
Reference in New Issue