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.
That's it!
Thank you ayyobro!
I changed a code like this:
Route::put(' */{id}/update', array( 'uses' => 'ProcessController@update', 'as' => 'update.method'));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community