/** * Update taxonomy term * @param integer $id * @return Redirect */ public function update($id) { if ($this->termRepository->update($id, Input::all())) { return Redirect::back()->withAlertSuccess('Saved.'); } return Redirect::back()->withInput()->withErrors($this->termRepository->errors()); }
/** * Delete the entry * @param integer $id * @return Redirect */ public function destroy($id) { // Get requested entry $entry = $this->repository->find($id, $this->channel->name); }