[TwigBundle] fixed grammar for render helper.
This commit is contained in:
parent
d17c2edb49
commit
8367df1265
@ -47,7 +47,7 @@ class Helpers extends \Twig_Extension
|
|||||||
new HelperTokenParser('route', '<route> [with <arguments:array>]', 'router', 'generate'),
|
new HelperTokenParser('route', '<route> [with <arguments:array>]', 'router', 'generate'),
|
||||||
|
|
||||||
// {% render 'BlogBundle:Post:list' with ['limit': 2], ['alt': 'BlogBundle:Post:error'] %}
|
// {% render 'BlogBundle:Post:list' with ['limit': 2], ['alt': 'BlogBundle:Post:error'] %}
|
||||||
new HelperTokenParser('render', '<template> [with <attributes:array>, [<options:array>]]', 'actions', 'render'),
|
new HelperTokenParser('render', '<template> [with <attributes:array>[, <options:array>]]', 'actions', 'render'),
|
||||||
|
|
||||||
// {% flash 'notice' %}
|
// {% flash 'notice' %}
|
||||||
new HelperTokenParser('flash', '<name>', 'session', 'flash'),
|
new HelperTokenParser('flash', '<name>', 'session', 'flash'),
|
||||||
|
Reference in New Issue
Block a user