-
Carlos Antonio da Silva authored
In such situations, the first layout was not being applied. This fixes it by storing the block variable before rendering the partial, so the variable is not overrided, thus the layout is applied (bear in mind the renderer is shared among all render calls). This commit also adds some more tests to render partials with layouts and nested render layout calls. Signed-off-by:
Santiago Pastorino <santiago@wyeworks.com>
Carlos Antonio da Silva authoredIn such situations, the first layout was not being applied. This fixes it by storing the block variable before rendering the partial, so the variable is not overrided, thus the layout is applied (bear in mind the renderer is shared among all render calls). This commit also adds some more tests to render partials with layouts and nested render layout calls. Signed-off-by:
Santiago Pastorino <santiago@wyeworks.com>
Loading