|
|
@ -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) |
|
|
|