Example #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param $id
  * @return Response
  */
 public function postDelete(DeleteRequest $request, $id)
 {
     $ObjectType = ObjectType::find($id);
     $ObjectType->delete();
     return redirect('admin/object-types')->with('message', 'Type deleted successfully');
 }