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?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MQVnsP
via IFTTT

Aucun commentaire:

Enregistrer un commentaire