Layout Express EJS use layout diferente

app.get('/a', function(req, res) {
res.render('view', { layout: 'LayoutA' });
});
app.get('/b', function(req, res) {
  res.render('view', { layout: 'LayoutB' });
});
Noob Learner