Included templates should not inherit the parent's locals/helpers #141

bminer opened this Issue Mar 2, 2013 · 1 comment

1 participant


The default behavior when including a child template should be to expose none of the parent's view locals. Right now, all view locals are exposed. Currently, one can control which locals are exposed to the included template using the exposing keyword. Exposing * could be a solution to expose all parent view locals.

Anyone out there have any thoughts on this?

@bminer bminer was assigned Mar 7, 2013

I am closing this issue because I like the current behavior of exposing all parent view locals to child views.

@bminer bminer closed this Apr 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment