close #11 Fixed: Companies api not working

This commit is contained in:
cuneytsenturk
2017-09-19 17:00:16 +03:00
parent a0370e0123
commit 941034c96c
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Companies extends ApiController
$company->setSettings();
}
return $this->response->paginator($companies, new Transformer());
return $this->response->collection($companies, new Transformer());
}
/**