summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-23 19:09:11 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-23 19:09:11 -0400
commitb9b82cfe477bcbfd3541adfc969ff20210d56549 (patch)
tree36020ddd1605414d1f11d1e0201d1ab05afe2880 /web.go
parent003298ef1d53e1d9837bcac5aadb2e9e159a7497 (diff)
downloadgitea-b9b82cfe477bcbfd3541adfc969ff20210d56549.tar.gz
gitea-b9b82cfe477bcbfd3541adfc969ff20210d56549.zip
Mirror updates
Diffstat (limited to 'web.go')
-rw-r--r--web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/web.go b/web.go
index 4b7d4ef035..9a613dceb6 100644
--- a/web.go
+++ b/web.go
@@ -145,7 +145,8 @@ func runWeb(*cli.Context) {
r.Get("/commits/:branchname", repo.Commits)
r.Get("/issues", repo.Issues)
r.Any("/issues/new", binding.BindIgnErr(auth.CreateIssueForm{}), repo.CreateIssue)
- r.Get("/issues/:issueid", repo.ViewIssue)
+ r.Get("/issues/:index", repo.ViewIssue)
+ r.Post("/issues/:index", binding.BindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue)
r.Get("/pulls", repo.Pulls)
r.Get("/branches", repo.Branches)
r.Get("/src/:branchname", repo.Single)