You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<footer>
<p>MyApp version {{{config.version}}}.</p>
</footer>
Unfortunately this doesn't work. Why not? Is there any way to expose a nested object to every layout/view such that I can access its properties everywhere?
The text was updated successfully, but these errors were encountered:
As far as I am aware only helpers can expose a variable to a layout (and therefore every request).
I want to expose a config object such that I can access its nested properties in layout.handlebars. I did this:
And
layout.handlebars
:Unfortunately this doesn't work. Why not? Is there any way to expose a nested object to every layout/view such that I can access its properties everywhere?
The text was updated successfully, but these errors were encountered: