/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $dataView = array(); $dataView['page_title'] = "Roles"; $dataView['rols'] = rol::all(); return view('rol.index', $dataView); }