houyaf 3 年之前
父節點
當前提交
0a97907705
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/router/routes.go

+ 2 - 2
web/router/routes.go

@@ -251,8 +251,8 @@ func Configure(b *bootstrap.Bootstrapper) {
 		repoTypeApp.Register(repoTypeService)
 		repoTypeApp.Handle(new(controllers.RepoTypeController))
 		
-		repoCatService := service.NewRepoTypeService()
-		repoCatApp := mvc.New(repoParty.Party("/type"))
+		repoCatService := service.NewRepoCatService()
+		repoCatApp := mvc.New(repoParty.Party("/cat"))
 		repoCatApp.Register(repoCatService)
 		repoCatApp.Handle(new(controllers.RepoCatController))