samedi 31 août 2019

pass locale and model instance to some route

i have this route enter image description here

in blade i want send locale and feedback id to the route but i get this error:



Argument 1 passed to App\Http\Controllers\User\FeedbackController::edit() must be an instance of App\Comment, string given

but if i dont user locale and user just this i will work

 // works

i need pass locale variable too, how can in fix this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire