diff options
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 47a0854e19..9618d25268 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -496,6 +496,8 @@ func RegisterRoutes(m *macaron.Macaron) { }) }) m.Post("/reactions/:action", bindIgnErr(auth.ReactionForm{}), repo.ChangeIssueReaction) + m.Post("/deadline/update", reqRepoWriter, bindIgnErr(auth.DeadlineForm{}), repo.UpdateDeadline) + m.Post("/deadline/delete", reqRepoWriter, repo.RemoveDeadline) }) m.Post("/labels", reqRepoWriter, repo.UpdateIssueLabel) |