mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 03:00:03 +02:00
#1944 Drop /org/ URL path prefix in organization home page
This commit is contained in:
parent
7f9598141b
commit
3ca544912f
12 changed files with 125 additions and 128 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue