Support the ongoing development of →
Requests Database Forms
Last updated 2 years ago.

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!


Your banner here too?

chals19 chals19 Joined 8 May 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.