/**
  * Display the specified resource.
  *
  * @param  int $id
  * @param ResourceCategoryTransformer $transformer
  * @return \Illuminate\Http\Response
  */
 public function show($id, ResourceCategoryTransformer $transformer)
 {
     $category = ResourcesCategory::find($id);
     return $this->respond(['data' => $transformer->transform($category->toArray())]);
 }