Skip to content

Commit

Permalink
archived repos can be starred and watched (#7163) (#7168)
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo authored and techknowlogick committed Jun 10, 2019
1 parent 873acd8 commit 5e97b2d
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 @@ -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() {
Expand Down

0 comments on commit 5e97b2d

Please sign in to comment.