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

This commit is contained in:
Unknwon committed 2015-11-24 19:14:00 -05:00
1 parent 7f9598141b
commit 3ca544912f
12 files changed
+125 -128

No files matched your search

-3
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
}