summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-06-03 23:10:16 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-04 11:10:16 +0800
commit023cad4461d803f319ae723e62b5bb3b8abe90be (patch)
treea875769a0e6825a41dce6fec6bfc79703e6934ad
parent3e74b5cf51dc29ce9dcb257392ae514992350eca (diff)
downloadgitea-023cad4461d803f319ae723e62b5bb3b8abe90be.tar.gz
gitea-023cad4461d803f319ae723e62b5bb3b8abe90be.zip
gofmt (#1868)
-rw-r--r--routers/routes/routes.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 66b4da93c3..c45cfd0e0c 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -493,7 +493,6 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/delete", repo.DeleteMilestone)
}, reqRepoWriter, context.RepoRef(), context.CheckUnit(models.UnitTypeIssues))
-
m.Combo("/compare/*", repo.MustAllowPulls, repo.SetEditorconfigIfExists).
Get(repo.CompareAndPullRequest).
Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)