I have the following code in my Notices controller:
public function index() {
$notices = Notice::all();
return view('notices.index' , compact('notices'));
}
Now as soon as i get the route that calls the index method in my controller i get the following error:
Why am i getting this semi-colon error ??
Thank you.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hCtH7f
via IFTTT
Aucun commentaire:
Enregistrer un commentaire