Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Pass _layoutFile from controller actions to view layer #21

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

GothAck commented Jul 12, 2012

Allow the changing of layouts using ejs-locals using _layoutFile within controller actions.

Contributor

oldcookie commented Jul 13, 2012

In Express 3.x, there is no layout in Express anymore. (Layouts are embedded within templates in Jade, but that's not supported in EJS yet.)

Contributor

drudge commented Sep 7, 2012

_layoutFile does still exist in Express 3.0. I do agree it would be nice to pass this along so it could be set in controllers without resorting to req.locals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment