| skipped 65 lines |
66 | 66 | | mvc.New(AuthScope.Party("/msg/subscribes")).HandleError(ErrorHandler).Handle(controller.NewMessageSubscribeController()) |
67 | 67 | | mvc.New(AuthScope.Party("/user/messages")).HandleError(ErrorHandler).Handle(controller.NewUserMsgController()) |
68 | 68 | | mvc.New(AuthScope.Party("/user/settings")).HandleError(ErrorHandler).Handle(controller.NewUserSettingController()) |
| 69 | + | mvc.New(AuthScope.Party("/clusters/kubeconfig/{name}")).HandleError(ErrorHandler).Handle(downloadKubeconfig) |
69 | 70 | | WhiteScope = v1.Party("/") |
70 | | - | WhiteScope.Get("/clusters/kubeconfig/{name}", downloadKubeconfig) |
71 | 71 | | WhiteScope.Get("/captcha", generateCaptcha) |
72 | 72 | | mvc.New(WhiteScope.Party("/theme")).HandleError(ErrorHandler).Handle(controller.NewThemeController()) |
73 | 73 | | |
| skipped 50 lines |