mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-29 00:47:31 +00:00
make sure to set pr split view (#4617)
Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
This commit is contained in:
parent
7fbdd4f2ac
commit
3422077a89
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user