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'); }