updated last commit to reflect Twig changes

This commit is contained in:
Fabien Potencier 2010-12-19 22:27:50 +01:00
parent faac8e6ffd
commit bacb472e39

View File

@ -42,7 +42,7 @@ class SecurityExtension extends \Twig_Extension
public function getGlobals()
{
return array(
'has_role' => new \Twig_Function($this, 'vote'),
'fn_has_role' => new \Twig_Function($this, 'vote'),
);
}