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');



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2TcJpJi
via IFTTT

Aucun commentaire:

Enregistrer un commentaire