Commit 1e53f4122ccc39dbe1352bc22317bf889e611a30

Authored by Alex Savenko
1 parent 9137c4e8

test

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/library/App/Resources/ProjectResource.php
... ... @@ -26,8 +26,8 @@ class ProjectResource extends ApiResource {
26 26 ->name('Project')
27 27 ->model(Project::class)
28 28 ->expectsJsonData()
29   - //->itemKey('project')
30   - //->collectionKey('projects')
  29 + ->itemKey('project')
  30 + ->collectionKey('projects')
31 31 ;
32 32  
33 33 /** transformers **/
... ... @@ -36,8 +36,8 @@ class ProjectResource extends ApiResource {
36 36  
37 37 /** handlers **/
38 38 $this
39   - ->handler(ProjectController::class)
40   - ->handler(CrudResourceController::class);
  39 + ->handler(ProjectController::class);
  40 + //->handler(CrudResourceController::class);
41 41  
42 42 /** general roles **/
43 43 $this
... ...