diff options
author | Lanre Adelowo <yo@lanre.wtf> | 2019-06-10 02:02:42 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-06-10 09:02:42 +0800 |
commit | 3e05661d8d52315d6dbb601950df2354428ac119 (patch) | |
tree | 9ccf03bc16015452d9397c12ce85987ea0d61580 /routers | |
parent | 8de0b0a3f06fe7879fb014d2624209e0e48455a0 (diff) | |
download | gitea-3e05661d8d52315d6dbb601950df2354428ac119.tar.gz gitea-3e05661d8d52315d6dbb601950df2354428ac119.zip |
archived repos can be starred and watched (#7163)
Diffstat (limited to 'routers')
-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 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() { |