-
Notifications
You must be signed in to change notification settings - Fork 204
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
Partials not getting global settings object #51
Comments
+! |
I'm having a similar issue with views that are rendered with data. |
Please provide a simple test app that shows desired behavior. |
I built a barebones app but it worked. I then started stripping away code from my actual project and found my problem. The data I was passing to the view has a name collision with the |
Inside a view, in express, you can access the application settings via
settings.foo
, but once a partial is included, that partial doesn't get the settings object.Simple test with:
Then in the index.hbs:
And subpage.hbs:
I would expect the same express internals regardless of whether I'm at the top level or not.
The text was updated successfully, but these errors were encountered: