Skip to content

Commit

Permalink
make sure to set pr split view
Browse files Browse the repository at this point in the history
Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
  • Loading branch information
adelowo committed Aug 5, 2018
1 parent 9c354a5 commit 1cfd0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ func RegisterRoutes(m *macaron.Macaron) {
}, reqRepoWriter, context.RepoRef(), context.CheckAnyUnit(models.UnitTypeIssues, models.UnitTypePullRequests))

m.Combo("/compare/*", repo.MustAllowPulls, repo.SetEditorconfigIfExists).
Get(repo.CompareAndPullRequest).
Get(repo.SetDiffViewStyle, repo.CompareAndPullRequest).
Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)

m.Group("", func() {
Expand Down

0 comments on commit 1cfd0be

Please sign in to comment.