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

7 lines
186 B
Smarty

{% if permissions %}
public $requiredPermissions = [
{% for permission in permissions %}
'{{ permission }}'{% if not loop.last %},{% endif %}
{% endfor %}
];
{% endif %}