aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorLanre Adelowo <yo@lanre.wtf>2019-06-10 02:02:42 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2019-06-10 09:02:42 +0800
commit3e05661d8d52315d6dbb601950df2354428ac119 (patch)
tree9ccf03bc16015452d9397c12ce85987ea0d61580 /routers
parent8de0b0a3f06fe7879fb014d2624209e0e48455a0 (diff)
downloadgitea-3e05661d8d52315d6dbb601950df2354428ac119.tar.gz
gitea-3e05661d8d52315d6dbb601950df2354428ac119.zip
archived repos can be starred and watched (#7163)
Diffstat (limited to 'routers')
-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 4c736f63ed..f7ccfc43d2 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -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() {