Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am working on a node server with express and I did set a default server for all pages and it works fine, hwever, when I try to avaoid the laout in some pages, it still get used, my code is bellow maybe someone can help me
- my app.js configuratiomn
- my router
- router.get('/', function(req, res, next) {
- res.render('listings', {
- title: 'listings',
- page:'listing',
- layout: 'dashboard',
- });
- });
- module.exports = router;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement