title修改

cxt_course
cxt 9 years ago
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…
Cancel
Save