1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Added: Ability to delete org avatar.

This commit is contained in:
Tamás Molnár
2016-03-06 17:36:30 +01:00
parent c2ca103d30
commit 9c91e27933
5 changed files with 26 additions and 6 deletions

View File

@@ -368,6 +368,7 @@ func runWeb(ctx *cli.Context) {
m.Combo("").Get(org.Settings).
Post(bindIgnErr(auth.UpdateOrgSettingForm{}), org.SettingsPost)
m.Post("/avatar", binding.MultipartForm(auth.UploadAvatarForm{}), org.SettingsAvatar)
m.Post("/avatar/delete", org.SettingsDeleteAvatar)
m.Group("/hooks", func() {
m.Get("", org.Webhooks)