diff --git a/routes/show.js b/routes/show.js index c171ef0..1878b60 100644 --- a/routes/show.js +++ b/routes/show.js @@ -59,7 +59,8 @@ router.get('/:id/:incoming_chan', function(req, res, next) { res.render('show',{ title: titre, videos: data, - channel_id: req.params.incoming_chan + channel_id: req.params.incoming_chan, + show_id: req.params.id }); }); diff --git a/views/show.jade b/views/show.jade index 6dc0c9d..5793045 100644 --- a/views/show.jade +++ b/views/show.jade @@ -3,7 +3,8 @@ extends layout block content h1= title - a(href="/channel/#{channel_id}") Retour à la liste des séries + a(href="/show_list/#{channel_id}") Retour à la liste des séries + br br table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")