I am using following code to render view and send output to layout from other class than controller
return view($name, ["somekey" => "somevalue"]); In my view
This gives me error
Undefined variable: somekey(View: ....\resources\views\current_user.blade.php)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire