I have this in my blade file:
@if(Session::has('logged'))
@include('layouts.usernav')
@else
@include('layouts.publicnav')
@endif
When I run my page, it is just a blank page.
When I change it to look like this:
@if(1 == 1)
@include('layouts.usernav')
@else
@include('layouts.publicnav')
@endif
My page gets displayed. I don't know what I am doing wrong. What would/could be causing this?