I am using zizaco entrust and I want to show some specific menu for 2 users. But If I set like blew code it's not working. Can anyone have any suggestion, How can I set a menu for 2 different roles?
@role('admin','host')
<p>This is visible to users with the admin role. Gets translated to
\Entrust::role('admin')</p>
@endrole
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire