image video à la place de iframe
This commit is contained in:
parent
500b32626e
commit
b045f507d2
92 changed files with 945 additions and 656 deletions
|
|
@ -2,19 +2,19 @@ const playlists = require("../controllers/playlist.controller");
|
|||
module.exports = app => {
|
||||
let router = require("express").Router();
|
||||
|
||||
// Create a new Playlist
|
||||
// Create a new PlaylistDB
|
||||
router.post("/playlist/create", playlists.create);
|
||||
|
||||
// Retrieve all Playlists
|
||||
router.get("/playlist/findAll", playlists.findAll);
|
||||
|
||||
// Retrieve a single Playlist with id
|
||||
// Retrieve a single PlaylistDB with id
|
||||
router.get("/playlist/findOne/:id", playlists.findOne);
|
||||
|
||||
// Update a Playlist with id
|
||||
// Update a PlaylistDB with id
|
||||
router.put("/playlist/update/:id", playlists.update);
|
||||
|
||||
// Delete a Playlist with id
|
||||
// Delete a PlaylistDB with id
|
||||
router.delete("/playlist/delete/:id", playlists.delete);
|
||||
|
||||
// Delete all Playlists
|
||||
|
|
|
|||
Reference in a new issue