/** * Retrieve all notes associated with user * @param Auth $auth * @return Response */ public function index(Auth $auth) { $note = $this->noteRepository->findAllBy('user_id', $auth->user()->id); return $this->response->array($note->toArray()); }