createPlaylist

This commit is contained in:
Deluan 2016-03-24 12:06:39 -04:00
parent 5b2ecc39ca
commit 52850c6ef0
4 changed files with 48 additions and 2 deletions

View file

@ -41,6 +41,7 @@ func mapEndpoints() {
beego.NSRouter("/getPlaylists.view", &api.PlaylistsController{}, "*:GetAll"),
beego.NSRouter("/getPlaylist.view", &api.PlaylistsController{}, "*:Get"),
beego.NSRouter("/createPlaylist.view", &api.PlaylistsController{}, "*:Create"),
beego.NSRouter("/getUser.view", &api.UsersController{}, "*:GetUser"),
)