Commit 02077db963922821ec5e36d3c2dce1a4fc3d5035
1 parent
10164e4c
add projects to collectionBootstrap
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/library/App/Bootstrap/CollectionBootstrap.php
| ... | ... | @@ -4,6 +4,7 @@ namespace App\Bootstrap; |
| 4 | 4 | |
| 5 | 5 | use App\BootstrapInterface; |
| 6 | 6 | use App\Collections\ExportCollection; |
| 7 | +use App\Resources\ProjectResource; | |
| 7 | 8 | use App\Resources\UserResource; |
| 8 | 9 | use App\Resources\AlbumResource; |
| 9 | 10 | use App\Resources\PhotoResource; |
| ... | ... | @@ -19,6 +20,7 @@ class CollectionBootstrap implements BootstrapInterface |
| 19 | 20 | ->collection(new ExportCollection('/export')) |
| 20 | 21 | ->resource(new UserResource('/users')) |
| 21 | 22 | ->resource(new AlbumResource('/albums')) |
| 23 | + ->resource(new ProjectResource('/projects')) | |
| 22 | 24 | ->resource(new PhotoResource('/photos')); |
| 23 | 25 | } |
| 24 | 26 | } | ... | ... |