ajout du lien
This commit is contained in:
parent
a901355238
commit
673813123e
@ -20,7 +20,7 @@ router.get('/:id', function(req, res, next) {
|
|||||||
//aprés toute les opération de la base
|
//aprés toute les opération de la base
|
||||||
function(){
|
function(){
|
||||||
console.log(shows);
|
console.log(shows);
|
||||||
res.render('show_list', { title: 'Liste des séries',shows: shows, channel: req.params.id });
|
res.render('show_list', { title: 'Liste des séries',shows: shows, channel_id: req.params.id });
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -12,7 +12,7 @@ block content
|
|||||||
each show, i in shows
|
each show, i in shows
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
a(href="/show/#{show.id}")= show.title
|
a(href="/show/#{show.id}/#{channel_id}")= show.title
|
||||||
td= show.year
|
td= show.year
|
||||||
script.
|
script.
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user