/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $rubros = Rubro::all(); return view('admin.rubros.tabla')->with('rubros', $rubros); }