Commit 5b99f9323050dcca25b9d295a45789849df2f1ba
1 parent
cd6fbc49
generate GaResource
Showing
1 changed file
with
2 additions
and
1 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\GaResource; | |
| 7 | 8 | use App\Resources\ProjectResource; |
| 8 | 9 | use App\Resources\UserResource; |
| 9 | 10 | use App\Resources\AlbumResource; |
| ... | ... | @@ -22,6 +23,6 @@ class CollectionBootstrap implements BootstrapInterface |
| 22 | 23 | ->resource(new AlbumResource('/albums')) |
| 23 | 24 | ->resource(new PhotoResource('/photos')) |
| 24 | 25 | ->resource(new ProjectResource('/projects')) |
| 25 | - ->resource(new ProjectResource('/ga')); | |
| 26 | + ->resource(new GaResource('/ga')); | |
| 26 | 27 | } |
| 27 | 28 | } | ... | ... |