From b1adf749134456d8fccd7571d50dd2e663e6f33f Mon Sep 17 00:00:00 2001 From: wemeya Date: Thu, 26 May 2016 18:06:37 +0800 Subject: [PATCH] modify router --- ui/router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/router.go b/ui/router.go index 55ac8c195..512932728 100644 --- a/ui/router.go +++ b/ui/router.go @@ -58,7 +58,6 @@ func initRouters() { beego.Router("/api/projects/:id/toggle_project_public", &api.ProjectAPI{}, "post:ToggleProjectPublic") beego.Router("/api/statistics", &api.StatisticAPI{}) beego.Router("/api/projects/:id/logs/filter", &api.ProjectAPI{}, "post:FilterAccessLog") - beego.Router("/api/users", &api.UserAPI{}) beego.Router("/api/users/?:id", &api.UserAPI{}) beego.Router("/api/users/:id/password", &api.UserAPI{}, "put:ChangePassword") beego.Router("/api/users/:id/toggle_user_admin", &api.UserAPI{}, "post:ToggleUserAdminRole")