From 39141fc803783c513c5d7286d6a597c6720a6c4d Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 27 Jun 2019 16:14:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E6=97=B6=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8title=E6=98=BE=E7=A4=BA=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2bfc127d..5e86be7e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -3079,7 +3079,7 @@ module ApplicationHelper elsif @syllabus title << (@syllabus.title.nil? ? "课堂" : @syllabus.title) else - title << (User.current.id == 2 ? "未登录" : User.current.show_name) + title << (User.current.id == 2 ? "Educoder实践教学" : User.current.show_name) end # if first_page.nil? || first_page.web_title.nil? # title << Setting.app_title unless Setting.app_title == title.last