Im trying to include a different nav if the user is logged in. I need to do this in my view (I know the logic should really go elsewhere but I need it here).
@include( {{ Auth::guest() ? 'nav-a' : 'nav-b' }} )
The above fails to work:
development.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'syntax error, unexpected '<', expecting ')''