pull: fix split view on pull request page (#3695)

pull/3854/merge
Unknwon 2017-02-23 13:12:28 -05:00
parent 7d80c5a722
commit 0c8c1ee96f
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
1 changed files with 1 additions and 0 deletions

View File

@ -626,6 +626,7 @@ func CompareAndPullRequest(ctx *context.Context) {
return
}
ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.HTML(200, COMPARE_PULL)
}