diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-18 18:07:04 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-18 18:07:04 -0400 |
commit | 93f8f9252304d4e8028e13dd95e4cdf2e3178594 (patch) | |
tree | 43218b1bbb2f3cb466b9afa8ed60022924526519 /cmd/web.go | |
parent | a4c3ab48a52a0cade5d3c3ba76c5555ed1453566 (diff) | |
download | gitea-93f8f9252304d4e8028e13dd95e4cdf2e3178594.tar.gz gitea-93f8f9252304d4e8028e13dd95e4cdf2e3178594.zip |
Finish create new label
Diffstat (limited to 'cmd/web.go')
-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 2eeca9fa31..3335c53963 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -186,6 +186,7 @@ func runWeb(*cli.Context) { r.Post("/issues/:index", bindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue) r.Post("/issues/:index/assignee", repo.UpdateAssignee) r.Post("/issues/:index/milestone", repo.UpdateIssueMilestone) + r.Post("/issues/labels/new", bindIgnErr(auth.CreateLabelForm{}), repo.NewLabel) r.Get("/issues/milestones", repo.Milestones) r.Get("/issues/milestones/new", repo.NewMilestone) r.Post("/issues/milestones/new", bindIgnErr(auth.CreateMilestoneForm{}), repo.NewMilestonePost) |