diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-10-07 20:27:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 20:27:38 +0200 |
commit | 29acb3213b39a47dfab3e3e91ebb12931eca48b9 (patch) | |
tree | f29fa41658662d6623c12f101d6d04c380b5c37f /models/user.go | |
parent | f0bd1e98962a6821cdb0543cfc2e5159d443d36a (diff) | |
download | gitea-29acb3213b39a47dfab3e3e91ebb12931eca48b9.tar.gz gitea-29acb3213b39a47dfab3e3e91ebb12931eca48b9.zip |
Fix broken Activities link in team dashboard (#17255)
Remove '/' suffix from organization dashboard link
Fixes #17250
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go index fb40a0acc8..934b834e96 100644 --- a/models/user.go +++ b/models/user.go @@ -300,7 +300,7 @@ func (u *User) CanImportLocal() bool { // DashboardLink returns the user dashboard page link. func (u *User) DashboardLink() string { if u.IsOrganization() { - return u.OrganisationLink() + "/dashboard/" + return u.OrganisationLink() + "/dashboard" } return setting.AppSubURL + "/" } |