[TwigBundle] added a flash tag
This commit is contained in:
parent
1277568997
commit
0319838cdc
@ -48,6 +48,9 @@ class Helpers extends \Twig_Extension
|
||||
|
||||
// {% render 'BlogBundle:Post:list' with ['path': ['limit': 2], 'alt': 'BlogBundle:Post:error'] %}
|
||||
new HelperTokenParser('render', '<template> [with <arguments:array>]', 'actions', 'render'),
|
||||
|
||||
// {% flash 'notice' %}
|
||||
new HelperTokenParser('flash', '<name>', 'session', 'flash'),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user