This is my code in the blade view. My purpose is for this specific HTML to show up only if the authenticated user's email address matches in the if condition. Please check below, it is currently not working as it should be
@if ('' == 'evangelism.sec@gmail.com')
<li>
<a href=""><i class="fa fa-file-text" aria-hidden="true"></i>File Uploads</a>
</li>
@endif
Aucun commentaire:
Enregistrer un commentaire