Authored by htoooth

remove nodownload

@@ -24,7 +24,8 @@ function index(req, res, next) { @@ -24,7 +24,8 @@ function index(req, res, next) {
24 res.render('yoluck/list', { 24 res.render('yoluck/list', {
25 page: 'yoluck-list', 25 page: 'yoluck-list',
26 tabpanel: result, 26 tabpanel: result,
27 - localCss: true 27 + localCss: true,
  28 + nodownload: true
28 }); 29 });
29 30
30 }).catch(next); 31 }).catch(next);
@@ -70,8 +71,9 @@ function detail(req, res, next) { @@ -70,8 +71,9 @@ function detail(req, res, next) {
70 71
71 res.render('yoluck/detail', { 72 res.render('yoluck/detail', {
72 page: 'yoluck-detail', 73 page: 'yoluck-detail',
  74 + result,
73 localCss: true, 75 localCss: true,
74 - result 76 + nodownload: true
75 }); 77 });
76 78
77 }).catch(next); 79 }).catch(next);