diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-23 19:09:11 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-23 19:09:11 -0400 |
commit | b9b82cfe477bcbfd3541adfc969ff20210d56549 (patch) | |
tree | 36020ddd1605414d1f11d1e0201d1ab05afe2880 /web.go | |
parent | 003298ef1d53e1d9837bcac5aadb2e9e159a7497 (diff) | |
download | gitea-b9b82cfe477bcbfd3541adfc969ff20210d56549.tar.gz gitea-b9b82cfe477bcbfd3541adfc969ff20210d56549.zip |
Mirror updates
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |