I have Laravel Login system using Auth. need show to the user diffrent content at @sections as following when users are logged and non logged. welcome.blade.php
@extends('layouts.app')
@section('title' )
@guest
@section('content1')
<p>this is non logging content</p>
@include('partials._footer')
@endsection
@else
@section('content2')
<p>This is logging user content</p>
@endsection
@endguest
but in my logged user content is displaying in the non logged are also, how to fix this problem?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OUQj9t
via IFTTT
Aucun commentaire:
Enregistrer un commentaire