示例#1
0
 public function delete($id)
 {
     $Types = \App\cms_type::find($id);
     $Types->active = 0;
     $Types->save();
     Session::flash('message', 'Usuario Eliminado Correctamente');
     return redirect('admin/types')->with('message', 'store');
 }