1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

#1944 Drop /org/ URL path prefix in organization home page

This commit is contained in:
Unknwon
2015-11-24 19:14:00 -05:00
parent 7f9598141b
commit 3ca544912f
12 changed files with 125 additions and 128 deletions

View File

@@ -145,9 +145,6 @@ func (u *User) DashboardLink() string {
// HomeLink returns the user or organization home page link.
func (u *User) HomeLink() string {
if u.IsOrganization() {
return setting.AppSubUrl + "/org/" + u.Name
}
return setting.AppSubUrl + "/" + u.Name
}