updated last commit to reflect Twig changes
This commit is contained in:
parent
faac8e6ffd
commit
bacb472e39
@ -42,7 +42,7 @@ class SecurityExtension extends \Twig_Extension
|
|||||||
public function getGlobals()
|
public function getGlobals()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'has_role' => new \Twig_Function($this, 'vote'),
|
'fn_has_role' => new \Twig_Function($this, 'vote'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user