refactoring documentAPI

This commit is contained in:
David Bomba 2016-06-05 20:13:38 +10:00
parent 8ff41dfc7e
commit d5c2fc81bd

View File

@ -23,7 +23,7 @@ class DocumentAPIController extends BaseAPIController
{
$documents = Document::scope()->get();
return $this->itemResponse($documents);
return $this->listResponse($documents);
}