dimanche 17 juin 2018

Laravel view not found - after clearing every cache

This is the function

public function waybills()
{
    $user = Auth::user();
    if(isset($user)){
        $uid = $user->id;
        $receives = Receive::where('receiver_code', $uid)->with('clearance')->get();
        $archives = Archive::where('receiver_code', $uid)->get();
        return view("dashboard.receive.waybills", compact('receives', 'archives'));
    }
}

and this is the structure of the directory of files

enter image description here

I tried this following artisan codes

php artisan optimize --force
php artisan config:clear
php artisan route:clear
php artisan view:clear

and the error View [dashboard.receive.waybills] not found. persists



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire