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
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire