I want do check simple condition and then decide what template should I extend. I want to do something like this:
@if(Auth::check())
@extends("template/index")
@else
@extends("template/login")
@endif
But when I do, I get both templates extended ....
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire