What do I have to do when I've two post request on a page, but they have to go to 2 different controller methods.
I can't do this in my routes.php file:
Route::post('/createroute','route@receiveinfo'); Route::post('/createroute','route@store')
This can happen if you have for example a combobox/dropdown and it needs to receive information from the database and fill the information into the form.
What's the proper way for doing this?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1JSQCGg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire