mirror of https://github.com/go-gitea/gitea.git
Remove '/' suffix from organization dashboard link Fixes #17250
This commit is contained in:
parent
7b1153e943
commit
6e0a08d753
|
@ -296,7 +296,7 @@ func (u *User) CanImportLocal() bool {
|
||||||
// DashboardLink returns the user dashboard page link.
|
// DashboardLink returns the user dashboard page link.
|
||||||
func (u *User) DashboardLink() string {
|
func (u *User) DashboardLink() string {
|
||||||
if u.IsOrganization() {
|
if u.IsOrganization() {
|
||||||
return u.OrganisationLink() + "/dashboard/"
|
return u.OrganisationLink() + "/dashboard"
|
||||||
}
|
}
|
||||||
return setting.AppSubURL + "/"
|
return setting.AppSubURL + "/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue