/** * Update the specified podscheduleexception in storage. * * @param int $id * @return Response */ public function update($id) { $podscheduleexception = PodScheduleException::findOrFail($id); $validator = Validator::make($data = Input::all(), PodScheduleException::$rules); if ($validator->fails()) { return Redirect::back()->withErrors($validator)->withInput(); } $podscheduleexception->update($data); return Redirect::route('pod_schedule_exceptions.index'); }