/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($categoryid, $id) { $subcategory = SubCategory::destroy($id); return Redirect::route('admin.subcategory.show', $categoryid); }