app/Http/Controllers/recursoshumanos/rrhempleadocontroller.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $empleados = Rrhempleado::where('eliminar', '=', 1)->get();
        return view('rhempleados.index', compact('empleados'));
    }
public function index ( ) { $ empleados = Rrhempleado :: where ( 'eliminar' , '=' , 1 ) -> get ( ) ; return view ( 'rhempleados.index' , compact ( 'empleados' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .