diff -r 5cd8c3065c38 -r bc18286e55b2 server/src/app/Http/Controllers/Api/DocumentController.php --- a/server/src/app/Http/Controllers/Api/DocumentController.php Tue Feb 23 17:47:57 2016 +0100 +++ b/server/src/app/Http/Controllers/Api/DocumentController.php Tue Feb 23 17:57:46 2016 +0100 @@ -30,7 +30,7 @@ if(array_key_exists('data', $res)) { $documents = $res['data']; unset($res['data']); - $res['documents'] = $this->documentRepository->resolveLexvo($documents); + //$res['documents'] = $this->documentRepository->resolveLexvo($documents); } return response()->json($res); } @@ -65,10 +65,10 @@ public function show($id) { $doc = $this->documentRepository->get($id); - $this->documentRepository->resolveLexvo([$doc,]); if(is_null($doc)) { abort(404); } + //$this->documentRepository->resolveLexvo([$doc,]); return response()->json(["document" => $doc]); }