]> source.dussan.org Git - gitea.git/commitdiff
archived repos can be starred and watched (#7163)
authorLanre Adelowo <yo@lanre.wtf>
Mon, 10 Jun 2019 01:02:42 +0000 (02:02 +0100)
committerLunny Xiao <xiaolunwen@gmail.com>
Mon, 10 Jun 2019 01:02:42 +0000 (09:02 +0800)
routers/routes/routes.go

index 4c736f63ed40ebec61a63de8a959c88f35a10eef..f7ccfc43d24b5365e888f3fb97c84a46b7870adc 100644 (file)
@@ -674,7 +674,7 @@ func RegisterRoutes(m *macaron.Macaron) {
                })
        }, reqSignIn, context.RepoAssignment(), reqRepoAdmin, context.UnitTypes(), context.RepoRef())
 
-       m.Get("/:username/:reponame/action/:action", reqSignIn, context.RepoAssignment(), context.UnitTypes(), context.RepoMustNotBeArchived(), repo.Action)
+       m.Get("/:username/:reponame/action/:action", reqSignIn, context.RepoAssignment(), context.UnitTypes(), repo.Action)
 
        m.Group("/:username/:reponame", func() {
                m.Group("/issues", func() {