diff options
author | Justin Nuß <nuss.justin@gmail.com> | 2014-07-24 19:15:35 +0200 |
---|---|---|
committer | Justin Nuß <nuss.justin@gmail.com> | 2014-07-24 19:15:35 +0200 |
commit | 620c0ef297ceca370f8e2946a72a2a1c40c16347 (patch) | |
tree | 8f9d0911db7d2920b6cf6d0de18ad61b1042b543 /cmd/web.go | |
parent | cbcd08aa17e95a72dcb294da836aa7f2b966d5c0 (diff) | |
parent | c20f5dc2ea1b27e80c28e00831278c7451ba6cce (diff) |
Merge branch 'dev' of https://github.com/gogits/Gogs into trello/244
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -206,7 +206,7 @@ func runWeb(*cli.Context) { r.Post("/:org/teams/new", bindIgnErr(auth.CreateTeamForm{}), org.NewTeamPost) r.Get("/:org/teams/:team/edit", org.EditTeam) - r.Get("/:org/team/:team",org.SingleTeam) + r.Get("/:org/team/:team", org.SingleTeam) r.Get("/:org/settings", org.Settings) r.Post("/:org/settings", bindIgnErr(auth.OrgSettingForm{}), org.SettingsPost) @@ -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) |