New method in controller

0

Good morning

I wanted to ask, if it is possible to add a new POST-type method to a resource controller that already has its methods edit, destroy, store.

I've tried to do it like that but do not want to aggravate the route.

Route::post('/panel/usuario', 'UsuarioController@entrada')->name('usuario.entrada');
Route::resource('/panel/usuario', 'UsuarioController');
    
asked by zereft 16.10.2018 в 00:31
source

0 answers