aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLanre Adelowo <yo@lanre.wtf>2019-06-10 14:20:34 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-06-10 09:20:34 -0400
commit5e97b2d00ea549f9b9a759eeeb7f19cabc1949fb (patch)
tree05fc6077734c3c4b2f74ab532293bdd7ddaa5635
parent873acd884d85ef31120aa83964f16007a073facb (diff)
downloadgitea-5e97b2d00ea549f9b9a759eeeb7f19cabc1949fb.tar.gz
gitea-5e97b2d00ea549f9b9a759eeeb7f19cabc1949fb.zip
archived repos can be starred and watched (#7163) (#7168)
-rw-r--r--routers/routes/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index cdba1b7d92..5a08dcc7b7 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -578,7 +578,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() {