vendredi 28 décembre 2018

laravel multi forms route

everybody, I have a multi form on the same page and same route all things are working fine but only last form is working

   Route::post('user/{user}/settings', 'UserController@Update_info');
   Route::post('user/{user}/settings', 'UserController@SaveSettings');
   Route::post('user/{user}/settings', 'UserController@Update_security');

So if I need SaveSettings I must change it to

Route::post('user/{user}/settings', 'UserController@Update_info');
Route::post('user/{user}/settings', 'UserController@SaveSettings');
Route::post('user/{user}/settings', 'UserController@Update_security');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire