Esempio n. 1
0
 public function deletePicture($id)
 {
     $Section = \App\cms_section::All();
     $Catego = \App\cms_category::find($id);
     $Catego->main_picture = "";
     $Catego->save();
     Session::flash('message', 'Imagen Eliminada Correctamente');
     return view('categories.categoryform', ['Catego' => $Catego, 'Section' => $Section]);
 }