mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
导航个人主页去掉固定显示
This commit is contained in:
@@ -14,10 +14,10 @@ class SettingsController < ApplicationController
|
||||
private
|
||||
def get_navbar
|
||||
@navbar = default_laboratory.navbar
|
||||
if User.current.logged?
|
||||
pernal_index = {"name"=>"个人主页", "link"=>get_site_url("url", "#{Rails.application.config_for(:configuration)['platform_url']}/current_user"), "hidden"=>false}
|
||||
@navbar << pernal_index
|
||||
end
|
||||
# if User.current.logged?
|
||||
# pernal_index = {"name"=>"个人主页", "link"=>get_site_url("url", "#{Rails.application.config_for(:configuration)['platform_url']}/current_user"), "hidden"=>false}
|
||||
# @navbar << pernal_index
|
||||
# end
|
||||
end
|
||||
|
||||
def get_add_menu
|
||||
|
||||
Reference in New Issue
Block a user