Browse Source

change

pull/245/head
sylor_huang@126.com 5 years ago
parent
commit
dffb859c38
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/controllers/concerns/laboratory_helper.rb
  2. +1
    -1
      app/views/settings/show.json.jbuilder

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

@@ -39,7 +39,7 @@ module LaboratoryHelper
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://testforgeplus.trustie.net/users/#{current_user.try(:login)}/projects",
my_projects: "https://forgeplus.trustie.net/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",


+ 1
- 1
app/views/settings/show.json.jbuilder View File

@@ -21,7 +21,7 @@ json.setting do

nav_bar = default_setting.navbar
if User.current.logged?
nav_bar[2]["link"] = "/users/#{current_user.login}/projects"
nav_bar[2]["link"] = "https://forgeplus.trustie.net/users/#{current_user.login}/projects"
nav_bar[2]["hidden"] = false
else
nav_bar[2]["link"] = ""


Loading…
Cancel
Save