mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Change projects links
This commit is contained in:
@@ -21,7 +21,7 @@ json.setting do
|
||||
|
||||
nav_bar = default_setting.navbar
|
||||
if User.current.logged?
|
||||
nav_bar[2]["link"] = "/users/#{current_user.login}"
|
||||
nav_bar[2]["link"] = "/users/#{current_user.login}/projects"
|
||||
nav_bar[2]["hidden"] = false
|
||||
else
|
||||
nav_bar[2]["link"] = ""
|
||||
|
||||
Reference in New Issue
Block a user