How I can send object to a view, currently I have something like that:
Route::get('/search', 'sampleController@search')->name('search');
So, I have this object {Page_title:$pageName,error:$errorMesssage}
and I want to pass it to /search
route.
Also, how I can retrieve the object values in the view side.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire