Example #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  Category $category
  * @return Response
  */
 public function destroy(Category $category)
 {
     $this->category->destroy($category);
     flash()->success(trans('core::core.messages.resource deleted', ['name' => trans('module::categories.title.categories')]));
     return redirect()->route('admin.module.category.index');
 }