/** * Remove the specified repair from storage. * * @param int $id * @return Response */ public function destroy($id) { if (!Sentry::getUser()) { return Redirect::route('sessions.create'); } Repair::destroy($id); return Redirect::route('repairs.index'); }
/** * Remove the specified repair from storage. * * @param int $id * @return Response */ public function destroy($id) { Repair::destroy($id); return Redirect::route('repairs.index'); }