mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-21 01:10:19 +00:00
Update locales and .gopmfile
This commit is contained in:
parent
b0eb47cb1c
commit
5aa2bf86f4
11 changed files with 174 additions and 169 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue