#2790 fix not detect diff style in pull request file changes

pull/197/head
Unknwon 8 years ago
parent 57a47bbc05
commit 256cd6374a
  1. 1
      routers/repo/pull.go

@ -372,6 +372,7 @@ func ViewPullFiles(ctx *context.Context) {
}
headTarget := path.Join(pull.HeadUserName, pull.HeadRepo.Name)
ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.Data["Username"] = pull.HeadUserName
ctx.Data["Reponame"] = pull.HeadRepo.Name
ctx.Data["IsImageFile"] = commit.IsImageFile

Loading…
Cancel
Save