diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ee2e2d74a..cb8b06a8f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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