aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-24 12:49:43 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-24 12:49:43 -0400
commitc20f5dc2ea1b27e80c28e00831278c7451ba6cce (patch)
tree85d1f32c36f962ad6338ec75e3a7a8ff8baf1905 /cmd/web.go
parenta41a1fe60da5b02891640dd5f99758015b78bcc9 (diff)
parentda0240aacd5646bd73b2e22d92d88578dbafd64b (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 0af79c3c..bb020fab 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -238,6 +238,7 @@ func runWeb(*cli.Context) {
r.Post("/:index/label", repo.UpdateIssueLabel)
r.Post("/:index/milestone", repo.UpdateIssueMilestone)
r.Post("/:index/assignee", repo.UpdateAssignee)
+ r.Get("/:index/attachment/:id", repo.IssueGetAttachment)
r.Post("/labels/new", bindIgnErr(auth.CreateLabelForm{}), repo.NewLabel)
r.Post("/labels/edit", bindIgnErr(auth.CreateLabelForm{}), repo.UpdateLabel)
r.Post("/labels/delete", repo.DeleteLabel)