Merge branch 'pre_trustie_server' into trustie_server

This commit is contained in:
yystopf 2022-04-08 16:40:15 +08:00
commit 0e8d461615
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class SettingsController < ApplicationController
def get_navbar
@navbar = default_laboratory.navbar
if User.current.logged?
pernal_index = {"name"=>"个人主页", "link"=>get_site_url("link", "/current_user"), "hidden"=>false}
pernal_index = {"name"=>"个人主页", "link"=>get_site_url("url", "#{Rails.application.config_for(:configuration)['platform_url']}/current_user"), "hidden"=>false}
@navbar << pernal_index
end
end