소스 검색

updated last commit to reflect Twig changes

Fabien Potencier 14 년 전
부모
커밋
bacb472e39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/TwigBundle/Extension/SecurityExtension.php

+ 1 - 1
src/Symfony/Bundle/TwigBundle/Extension/SecurityExtension.php

@@ -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'),
         );
     }