Render a controller in Twig - Unexpected “render” tag - expecting closing tag for the “block” tag de
Posted 01coding.com
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Render a controller in Twig - Unexpected “render” tag - expecting closing tag for the “block” tag de相关的知识,希望对你有一定的参考价值。
Render a controller in Twig - Unexpected “render” tag - expecting closing tag for the “block” tag defined
这样子写{% render(controller("MyBundle:Default:method", { ‘call‘ : ‘action‘ })) %}
报错Unexpected "render" tag (expecting closing tag for the "block" tag defined
;
那么改为这样子:
{{ render(controller("MyBundle:Default:method", { ‘call‘ : ‘action‘ })) }}
以上是关于Render a controller in Twig - Unexpected “render” tag - expecting closing tag for the “block” tag de的主要内容,如果未能解决你的问题,请参考以下文章
zend framework 重定向方法(render, forward, redirect)总结
You may have an infinite update loop in a component render function
[Vue warn]: You may have an infinite update loop in a component render function
el-date-picker日期选择器 ——[Vue warn]: Error in render: "TypeError: date.getFullYear is not a functi
2023-03-20 React: Each child in a list should have a unique "key" prop. Check the render
Each child in an array or iterator should have a unique "key" prop. Check the render metho