rdluck 4 жил өмнө
parent
commit
a2e2263f45
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      routers/router.go

+ 5 - 0
routers/router.go

@@ -54,6 +54,11 @@ func init() {
 				&controllers.UserCommonController{},
 			),
 		),
+		beego.NSNamespace("/video",
+			beego.NSInclude(
+				&controllers.VideoController{},
+			),
+		),
 	)
 	beego.AddNamespace(ns)
 }