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 @@