entrust
entrust copied to clipboard
cant set multiple role access in blade
hi, i want to set @role around some tags in blade file, but i cant set multiple role names for that. im doing that in this way: @role('stores-owner', 'owner') //----- @endrole
but it works just for the first role and the second role cant see that part of the page whats the problem?
Maybe try with array-like style?
Like this:
@ROLE(array('stores-owner', 'owner'))
@slawkens works like a charm. i don't know why i hadn't test it before. tnx