Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TwigBundle] replaced the ifrole tag with a has_role function
Before: {% ifrole "ROLE_ADMIN" %} Only show if you have the ROLE_ADMIN role... {% endifrole %} After: {% if has_role("ROLE_ADMIN") %} Only show if you have the ROLE_ADMIN role... {% endif %}
- Loading branch information
Showing
3 changed files
with
2 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
src/Symfony/Bundle/TwigBundle/TokenParser/IfRoleTokenParser.php
This file was deleted.
Oops, something went wrong.