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

Update locales and .gopmfile

This commit is contained in:
Unknwon
2016-07-17 09:25:30 +08:00
parent b0eb47cb1c
commit 5aa2bf86f4
11 changed files with 174 additions and 169 deletions

View File

@@ -224,7 +224,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/hooks", func() {
m.Combo("").Get(repo.ListHooks).
Post(bind(api.CreateHookOption{}), repo.CreateHook)
m.Combo("/:id:int").Patch(bind(api.EditHookOption{}), repo.EditHook).
m.Combo("/:id").Patch(bind(api.EditHookOption{}), repo.EditHook).
Delete(repo.DeleteHook)
})
m.Get("/raw/*", context.RepoRef(), repo.GetRawFile)