Browse Source

修改default_links

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
d26da7a3f4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/controllers/concerns/laboratory_helper.rb

+ 3
- 0
app/controllers/concerns/laboratory_helper.rb View File

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


Loading…
Cancel
Save