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 ....
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HYvOCV
via IFTTT
Aucun commentaire:
Enregistrer un commentaire