harbor/ngrouter.go

20 lines
637 B
Go
Raw Normal View History

2016-04-11 10:07:16 +02:00
package main
import (
"github.com/astaxie/beego"
"github.com/vmware/harbor/controllers/ng"
)
func initNgRouters() {
beego.SetStaticPath("ng/static", "ng")
beego.Router("/ng", &ng.IndexController{})
beego.Router("/ng/dashboard", &ng.DashboardController{})
beego.Router("/ng/project", &ng.ProjectController{})
beego.Router("/ng/repository", &ng.RepositoryController{})
beego.Router("/ng/sign_up", &ng.SignUpController{})
beego.Router("/ng/account_setting", &ng.AccountSettingController{})
beego.Router("/ng/forgot_password", &ng.ForgotPasswordController{})
beego.Router("/ng/reset_password", &ng.ResetPasswordController{})
2016-04-11 10:07:16 +02:00
}