/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $location = Location::findFail($id);
     $location->delete();
     $this->data->name = $location->name;
     return $this->json();
 }