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