From 15a002f60105bab4158e205756f02feb2a30c137 Mon Sep 17 00:00:00 2001 From: jasder Date: Tue, 23 Mar 2021 16:36:35 +0800 Subject: [PATCH] Update defalut laboratory setting url --- app/controllers/concerns/laboratory_helper.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/controllers/concerns/laboratory_helper.rb b/app/controllers/concerns/laboratory_helper.rb index b231b848..495c85e6 100644 --- a/app/controllers/concerns/laboratory_helper.rb +++ b/app/controllers/concerns/laboratory_helper.rb @@ -35,15 +35,15 @@ module LaboratoryHelper # my_projects: "/users/#{current_user.try(:login)}/projects", # my_projects: "https://www.trustie.net/users/#{current_user.try(:login)}/user_projectlist", { - 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", + new_syllabuses: "https://forgeplus.educoder.net/syllabuses/new", + new_course: "https://forgeplus.educoder.net/courses/new", + edit_account: "https://forgeplus.educoder.net/my/account", + my_courses: "https://forgeplus.educoder.net/users/#{current_user.try(:login)}/user_courselist", my_projects: "/users/#{current_user.try(:login)}/projects", - my_organ: "https://www.trustie.net/users/#{current_user.try(:login)}/user_organizations", - default_url: "https://www.trustie.net/", - tiding_url: "https://www.trustie.net/users/#{current_user.try(:login)}/user_messages", - register_url: "https://www.trustie.net/login?login=false" + my_organ: "https://forgeplus.educoder.net/users/#{current_user.try(:login)}/user_organizations", + default_url: "https://www.educoder.net/", + tiding_url: "https://www.educoder.net/users/#{current_user.try(:login)}/user_tidings", + register_url: "https://www.educoder.net/user/register" } end end