Created
March 21, 2016 11:13
-
-
Save jenkoian/b61c7a2dd30fd9381dd9 to your computer and use it in GitHub Desktop.
Permission is_granted
This file contains hidden or 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
| {% if is_granted(‘add_content’) %} | |
| <button>Add content</button> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment