/**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     Catalogo::create($request->all());
     Flash::success('El catálogo se agrego exitosamente');
     return redirect()->route('admin.catalogo.index');
 }
 public function detalle($id)
 {
     $detalle = Catalogo::find($id);
     return view('detalle', compact('detalle'));
 }