diff options
author | Tamás Molnár <moltam@gmail.com> | 2016-03-06 17:36:30 +0100 |
---|---|---|
committer | Tamás Molnár <moltam@gmail.com> | 2016-03-06 17:36:30 +0100 |
commit | 9c91e279338f4d8bf09e1f7f5904d34cd525b102 (patch) | |
tree | 32882aa197724e0f75608c9bfd16a24650b7be22 /cmd | |
parent | c2ca103d30b0f47b5ad0fa544ab5a07263894ea3 (diff) | |
download | gitea-9c91e279338f4d8bf09e1f7f5904d34cd525b102.tar.gz gitea-9c91e279338f4d8bf09e1f7f5904d34cd525b102.zip |
Added: Ability to delete org avatar.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 5092fc2b63..e839e37a58 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -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) |