Browse Source

Update defalut laboratory setting url

pull/57/head
jasder 5 years ago
parent
commit
15a002f601
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      app/controllers/concerns/laboratory_helper.rb

+ 8
- 8
app/controllers/concerns/laboratory_helper.rb View File

@@ -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

Loading…
Cancel
Save