public function getRemove($id = false) { if (!$id) { return App::abort(404); } $item = Workshift::find($id); if (!$item) { return App::abort(404); } $item->delete(); return Redirect::to("/structure/workshifts")->with("message", "Вариант смен удален"); }