It says undefined variable
when I try to pull variable through compact
this is my controller
public function show()
{
$list = List::find(1)->task();
return view('configuration.configuration', compact($list));
}
this is my view
@foreach($list as $value)
<span> </span>
@endforeach
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2aKCanI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire