From d26da7a3f4d513deadf2829f969f4473f6d167b2 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 16 Apr 2020 14:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9default=5Flinks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/concerns/laboratory_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/concerns/laboratory_helper.rb b/app/controllers/concerns/laboratory_helper.rb index 883b00672..7bfa56667 100644 --- a/app/controllers/concerns/laboratory_helper.rb +++ b/app/controllers/concerns/laboratory_helper.rb @@ -36,6 +36,9 @@ module LaboratoryHelper new_syllabuses: "https://www.trustie.net/syllabuses/new", new_course: "https://www.trustie.net/courses/new", edit_account: "https://www.trustie.net/my/account", + my_courses: "https://www.trustie.net/users/#{current_user.try(:login)}/user_courselist", + my_projects: "https://www.trustie.net/users/#{current_user.try(:login)}/user_projectlist", + my_organ: "https://www.trustie.net/users/#{current_user.try(:login)}/user_organizations", default_url: "https://www.trustie.net/" } end