]> BookStack Code Mirror - bookstack/commit
Finished refactor of entity repos 262/head
authorDan Brown <redacted>
Mon, 2 Jan 2017 11:07:27 +0000 (11:07 +0000)
committerDan Brown <redacted>
Mon, 2 Jan 2017 11:07:27 +0000 (11:07 +0000)
commit8453191dfb029ffa7a43e292eeeca1dc6f6c9077
treefacf8f6a91922b4a8c81261cfba095b656baab20
parent65796cfc7b7a04f0e61b2ce682c6cfce9d421b23
Finished refactor of entity repos

Removed entity-specific repos and standardised
the majority of repo calls to be applicable to
all entity types
16 files changed:
app/Chapter.php
app/Http/Controllers/AttachmentController.php
app/Http/Controllers/BookController.php
app/Http/Controllers/ChapterController.php
app/Http/Controllers/ImageController.php
app/Http/Controllers/PageController.php
app/Repos/BookRepo.php [deleted file]
app/Repos/ChapterRepo.php [deleted file]
app/Repos/EntityRepo.php
app/Repos/PageRepo.php [deleted file]
app/Repos/TagRepo.php
app/Services/PermissionService.php
tests/Entity/EntityTest.php
tests/Entity/PageDraftTest.php
tests/Entity/SortTest.php
tests/ImageTest.php