Skip to content

Commit

Permalink
archived repos can be starred and watched (go-gitea#7163)
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo authored and lunny committed Jun 10, 2019
1 parent 8de0b0a commit 3e05661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3e05661

Please sign in to comment.