new routes in controller

-2

Good morning

I have added a new method to a resouce controller, but it does not look like the other preset methods. it stays that way panel/registros/tareas | | App\Http\Controllers\RegistrosController@tareas , I would like to keep records. I do not know how to do it.

    
asked by zereft 19.10.2018 в 04:54
source

1 answer

0

I have not understood your question very well, but if in the file web.php you want a URL to appear in your way you would have to put it in the following way.

Route::**action(post or get)**('/registros/tareas','RegistrosController@tareas');

Try to give more details of what you want to do because I do not understand you at all

    
answered by 21.10.2018 / 03:44
source