code inside the if statement is not changing anything like i want to check if user is logged in then show his name on header but its not doing so..plus if statemet is not changing colour when i view it in sublime text.
@if (Auth::check())
<ul class="nav pull-right">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="fa fa-user"></i>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="">Logout</a></li>
</ul>
</li>
</ul>
@endif
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2uIr2m3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire