-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
res.view() does not include layout #554
Comments
Confirmed |
Fixed in #573 |
Merged and fixed a few other tangential issues |
This will need to be reexamined to ensure support of jade and other view engines, but for now I'm leaving it to focus on tests. |
I'm on |
@jasperkennis do you use ejs or jade? I'm on jade template engine, and I have same issue. |
No I'm using ejs. |
On sails |
If I create a view
views/game/test.ejs
and go tolocalhost:1337/game/test
then I see the file rendered with layout. However, if I create the following controller:... then
views/game/test.ejs
is rendered without layout. Even adding{ layout: 'path-to-layout' }
to theview
-function does not render the layout.Using the newest Sails dev. version.
The text was updated successfully, but these errors were encountered: