marc-leopold/cms/plugins/rainlab/builder/classes/controllergenerator/templates/controller-permissions.php.tpl

7 lines
186 B
Smarty
Raw Normal View History

2019-02-25 14:56:59 +00:00
{% if permissions %}
public $requiredPermissions = [
{% for permission in permissions %}
'{{ permission }}'{% if not loop.last %},{% endif %}
{% endfor %}
];
{% endif %}