From 3e36f5f6daa926dbc5418292140176b3041129ef Mon Sep 17 00:00:00 2001 From: Antoine WEBER Date: Wed, 7 Oct 2015 18:16:39 +0200 Subject: [PATCH] modif du lien --- routes/show.js | 3 ++- views/show.jade | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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%")