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

What if you tried this?

Route::put(' */{id}/update', [
     'uses' => 'ProcessController@update',
     'as' => 'update.method'
]);

The star ( * ) indicates a wildcard value. That means the route will accept whatever you like in that part of the url.

Last updated 2 years ago.
0

That's it!

Thank you ayyobro!

I changed a code like this:

Route::put(' */{id}/update', array( 'uses' => 'ProcessController@update', 'as' => 'update.method'));

Last updated 2 years ago.
0

No problem.

Happy coding!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

jonitopsg jonitopsg Joined 18 Jun 2014

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.