Configurado el logger
This commit is contained in:
@@ -8,7 +8,7 @@ $router->get('/', function () use ($router) {
|
||||
return 'Public View';
|
||||
});
|
||||
|
||||
$router->group(['prefix' => 'api/v1', 'middleware' => 'auth'], function () use ($router) {
|
||||
$router->group(['prefix' => 'api/v1', 'middleware' => ['auth', 'log_endpoint']], function () use ($router) {
|
||||
$router->group(['prefix' => '/users'], function () use ($router) {
|
||||
$router->get('/', ['as' => 'users.all', 'uses' => 'UsuariosController@all']);
|
||||
$router->get('/{id}', ['as' => 'users.get', 'uses' => 'UsuariosController@get']);
|
||||
|
||||
Reference in New Issue
Block a user