瀏覽代碼

archived repos can be starred and watched (#7163)

tags/v1.9.0-rc1
Lanre Adelowo 5 年之前
父節點
當前提交
3e05661d8d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      routers/routes/routes.go

+ 1
- 1
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() {

Loading…
取消
儲存