My Sails.js application have separate frontend and admin layout. My view engine is ejs.
frontend
admin
ejs
How do I use separate layouts for frontend
If you need to set view AND layout in your controller (Sails v0.11):
res.view('auth/login', { layout: null } );
Layout:
null = None
'folder/layout' = Your Layout