Support the ongoing development of Laravel.io →
Forms Eloquent Laravel.io
Last updated 2 years ago.
0

You cannot have two routes with the same name. Change the name of the route for update.

agjino liked this reply

1
moderator

For any none GET route you need to have a csrf token. That is missing in your form, you can add it with @csrf in your form.

See: https://laravel.com/docs/7.x/csrf for more information.

0

You need to specify the method inside the form with @method('PUT')

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.