/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $catalogos = Catalogo::all();
     return view('catalogo.index', compact($catalogos, 'catalogos'));
 }
 public function index()
 {
     $list = Catalogo::all();
     return view('catalogo', compact('list'));
 }