Skip to content

Commit 36bcfb6

Browse files
committed
Fix broken Activities link in team dashboard
Remove '/' suffix from organization dashboard link Fixes go-gitea#17250
1 parent f0bd1e9 commit 36bcfb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func (u *User) CanImportLocal() bool {
300300
// DashboardLink returns the user dashboard page link.
301301
func (u *User) DashboardLink() string {
302302
if u.IsOrganization() {
303-
return u.OrganisationLink() + "/dashboard/"
303+
return u.OrganisationLink() + "/dashboard"
304304
}
305305
return setting.AppSubURL + "/"
306306
}

0 commit comments

Comments
 (0)