public function update(GaleriaRequest $request, $id)
 {
     $g = Galeria::find($id)->update($request->all());
     return redirect()->route('galeria.index');
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $galeria = Galeria::find($id);
     File::delete('images/product-imgs/' . $galeria->pro_imagen_default);
     $galeria->delete();
     return redirect()->back()->with('success_message', 'Imagen Eliminada');
 }