Пример #1
0
 /**
  * Display the specified resource.
  *
  * @param  int $id
  * @return \Illuminate\Contracts\Http\Response
  */
 public function show($id)
 {
     return $this->respond->setMeta($this->meta)->withItem($this->model->with('things')->findOrFail($id), new AuthorTransformer());
 }