From 93a8f8830757dd63b4231bbe5adfbfdf072255a9 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 30 Jan 2019 13:47:35 +0100 Subject: [PATCH] respect value of REQUIRE_SIGNIN_VIEW --- routers/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 6445c0a9af5f7..41f38801c83c4 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -648,7 +648,7 @@ func RegisterRoutes(m *macaron.Macaron) { } ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount }) - }, context.RepoAssignment(), context.UnitTypes(), reqRepoReleaseReader) + }, ignSignIn, context.RepoAssignment(), context.UnitTypes(), reqRepoReleaseReader) m.Group("/:username/:reponame", func() { m.Post("/topics", repo.TopicsPost)