Skip to content

Commit 1cfd0be

Browse files
committed
make sure to set pr split view
Signed-off-by: Lanre Adelowo <[email protected]>
1 parent 9c354a5 commit 1cfd0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ func RegisterRoutes(m *macaron.Macaron) {
564564
}, reqRepoWriter, context.RepoRef(), context.CheckAnyUnit(models.UnitTypeIssues, models.UnitTypePullRequests))
565565

566566
m.Combo("/compare/*", repo.MustAllowPulls, repo.SetEditorconfigIfExists).
567-
Get(repo.CompareAndPullRequest).
567+
Get(repo.SetDiffViewStyle, repo.CompareAndPullRequest).
568568
Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost)
569569

570570
m.Group("", func() {

0 commit comments

Comments
 (0)