Skip to content

Commit cc2c7b6

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

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
@@ -296,7 +296,7 @@ func (u *User) CanImportLocal() bool {
296296
// DashboardLink returns the user dashboard page link.
297297
func (u *User) DashboardLink() string {
298298
if u.IsOrganization() {
299-
return u.OrganisationLink() + "/dashboard/"
299+
return u.OrganisationLink() + "/dashboard"
300300
}
301301
return setting.AppSubURL + "/"
302302
}

0 commit comments

Comments
 (0)