From 668b3e5b387347f8ae00efa331caee38dcc80987 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 2 Mar 2017 20:22:10 +0200 Subject: [PATCH] docs --- app/library/App/Collections/ExportCollection.php | 15 ++++++++++----- app/views/general/documentation.phtml | 1 - 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/library/App/Collections/ExportCollection.php b/app/library/App/Collections/ExportCollection.php index 71c49c0..40f05db 100755 --- a/app/library/App/Collections/ExportCollection.php +++ b/app/library/App/Collections/ExportCollection.php @@ -10,11 +10,16 @@ class ExportCollection extends ApiCollection { protected function initialize() { - $this - ->name('Export') - ->handler(ExportController::class) +// $this +// ->name('Export') +// ->handler(ExportController::class) +// +// ->endpoint(ApiEndpoint::get('/documentation.json', 'documentation')) +// ->endpoint(ApiEndpoint::get('/postman.json', 'postman')); - ->endpoint(ApiEndpoint::get('/documentation.json', 'documentation')) - ->endpoint(ApiEndpoint::get('/postman.json', 'postman')); + $this->name('Export'); + $this->handler(ExportController::class); + $this->endpoint(ApiEndpoint::get('/documentation.json', 'documentation')); + $this->endpoint(ApiEndpoint::get('/postman.json', 'postman')); } } diff --git a/app/views/general/documentation.phtml b/app/views/general/documentation.phtml index 449c086..224eb0d 100755 --- a/app/views/general/documentation.phtml +++ b/app/views/general/documentation.phtml @@ -59,7 +59,6 @@