Commit 2f935c070896c101ba48944764f70f2fc7ba76d3

Authored by Alex Savenko
1 parent 031ae4fe

docs

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/library/App/Bootstrap/CollectionBootstrap.php
... ... @@ -18,11 +18,11 @@ class CollectionBootstrap implements BootstrapInterface
18 18 public function run(Api $api, DiInterface $di, Config $config)
19 19 {
20 20 $api
21   - ->collection(new ExportCollection('/export'))
22   - ->resource(new UserResource('/users'))
23 21 ->resource(new GaResource('/ga'))
  22 + ->resource(new UserResource('/users'))
24 23 ->resource(new AlbumResource('/albums'))
25 24 ->resource(new PhotoResource('/photos'))
26   - ->resource(new ProjectResource('/projects'));
  25 + ->resource(new ProjectResource('/projects'))
  26 + ->collection(new ExportCollection('/export'));
27 27 }
28 28 }
... ...