I did it backwards, I needed to use the explicit context from the block, not the inline partial.

This commit is contained in:
Tom Alexander
2020-05-25 19:22:20 -04:00
parent 6845df7f96
commit 25eb9b10a0
3 changed files with 20 additions and 56 deletions

View File

@@ -31,7 +31,7 @@ Explicitly setting a context on an inline partial does not work, but it does not
Explicitly setting a context on a block does work.
The explicit context for inline partials is evaluated in the context for that template file containing the block, not the inline partial (so, whatever the context is when we invoke the partial containing the block).
The explicit context for blocks is evaluated in the context for that template file containing the block, not the inline partial (so, whatever the context is when we invoke the partial containing the block).
References
----------