diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-03-15 10:50:27 -0500 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-15 11:50:27 -0400 |
commit | c55bdca562e8fffaaf4028cf9563443027d52970 (patch) | |
tree | 0d8fa54f1d6f9f76d6a98d630a86ec4a5d9b324c /routers/routes | |
parent | 583968f274b85d1c9184c614cbdae763899f7827 (diff) | |
download | gitea-c55bdca562e8fffaaf4028cf9563443027d52970.tar.gz gitea-c55bdca562e8fffaaf4028cf9563443027d52970.zip |
Add same changes from issues page to milestone->issues page (#6328)
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 1e98d3216a..5f55d6cf9d 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -635,7 +635,7 @@ func RegisterRoutes(m *macaron.Macaron) { }, context.RepoMustNotBeArchived(), reqRepoIssuesOrPullsWriter, context.RepoRef()) m.Group("/milestone", func() { m.Get("/:id", repo.MilestoneIssuesAndPulls) - }, reqRepoIssuesOrPullsWriter, context.RepoRef()) + }, reqRepoIssuesOrPullsReader, context.RepoRef()) m.Combo("/compare/*", context.RepoMustNotBeArchived(), reqRepoCodeReader, reqRepoPullsReader, repo.MustAllowPulls, repo.SetEditorconfigIfExists). Get(repo.SetDiffViewStyle, repo.CompareAndPullRequest). Post(bindIgnErr(auth.CreateIssueForm{}), repo.CompareAndPullRequestPost) |