src/BaseApiController.php
public function show($id)
    {
        return $this->repo->with(Input::get('relations', []))->findOrFail($id, Input::get('attributes', ['*']));
    }
public function show($id)
    {
        return $this->repo->with(Input::get('relations', []))->findOrFail($id, Input::get('attributes', ['*']));
    }
Display the specified resource.
GET /<resource>/{id}.

@param  int      $id
@return Response