protected function setAdminRoutes()
{
$attributes = $this->attributes;
$attributes['namespace'] = 'Encore\\Admin\\Controllers';
$this->router->group($attributes, function ($router) {
$router->resources(['auth/users' => 'UserController', 'auth/roles' => 'RoleController', 'auth/permissions' => 'PermissionController', 'auth/menu' => 'MenuController']);
$router->get('auth/login', 'AuthController@getLogin');
$router->post('auth/login', 'AuthController@postLogin');
$router->get('auth/logout', 'AuthController@getLogout');
});
}