I solved this case by myself. The problem was on the routes files. By writting this line, I was overwritting the POST case in the resource routes.
Route::post('rutinas', 'RutinasController@storeEjercicio');
I solved with this line:
Route::resource('rutinas', 'RutinasController');
Route::post('rutinas.storeEjercicio/{id}', 'RutinasController@storeEjercicio');
Then also i rewrite the function on the controller and now it's all okey.
Thanks to everyone ;)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community