Hi experts I'm trying to display here a content depending on logged in user. If their role id = 2, the link will be diplayed in the sidebar. But then it has an error. Thanks
@if(()=="2")
<li class="">
<a href="" class =""><i class="fa fa-list-alt"></i> User Log</a>
</li>
@endif
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zvcq8P
via IFTTT
Aucun commentaire:
Enregistrer un commentaire