예제 #1
0
 /**
  * Delete a category from the database.
  *
  * @param mixed $id
  *
  * @return \Illuminate\Http\RedirectResponse
  */
 public function getDelete($id)
 {
     $this->categories->delete($id);
     return $this->redirectRoute('admin.categories.index');
 }