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

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

0

Sign in to participate in this thread!

Eventy

Your banner here too?

chals19 chals19 Joined 8 May 2016

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.