I did it backwards, I needed to use the explicit context from the block, not the inline partial.
This commit is contained in:
@@ -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
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user