forked from gitea/gitea
1
0
Fork 0
This commit is contained in:
Ethan Koenig 2017-06-03 23:10:16 -04:00 committed by Lunny Xiao
parent 3e74b5cf51
commit 023cad4461
1 changed files with 0 additions and 1 deletions

View File

@ -493,7 +493,6 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/delete", repo.DeleteMilestone) m.Post("/delete", repo.DeleteMilestone)
}, reqRepoWriter, context.RepoRef(), context.CheckUnit(models.UnitTypeIssues)) }, reqRepoWriter, context.RepoRef(), context.CheckUnit(models.UnitTypeIssues))
m.Combo("/compare/*", repo.MustAllowPulls, repo.SetEditorconfigIfExists). m.Combo("/compare/*", repo.MustAllowPulls, repo.SetEditorconfigIfExists).
Get(repo.CompareAndPullRequest). Get(repo.CompareAndPullRequest).
Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost) Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)