0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 23:04:45 +01:00

Merge pull request #2270 from novaeye/develop

PR for fix #2268
This commit is contained in:
Unknwon 2015-12-24 10:30:24 -05:00
commit 4c896bb620

View file

@ -60,6 +60,8 @@ func SettingsPost(ctx *middleware.Context, form auth.UpdateOrgSettingForm) {
}
return
}
// reset ctx.org.OrgLink with new name
ctx.Org.OrgLink = setting.AppSubUrl + "/org/" + form.Name
log.Trace("Organization name changed: %s -> %s", org.Name, form.Name)
}
// In case it's just a case change.