diff --git a/app/library/App/Resources/AllPositionResource.php b/app/library/App/Resources/AllPositionResource.php index dc6e1fc..9e5f8ea 100644 --- a/app/library/App/Resources/AllPositionResource.php +++ b/app/library/App/Resources/AllPositionResource.php @@ -9,6 +9,7 @@ namespace App\Resources; +use App\Controllers\AllPositionController; use PhalconRest\Api\ApiResource; class AllPositionResource extends ApiResource @@ -17,13 +18,13 @@ class AllPositionResource extends ApiResource public function initialize() { $this - ->name('Google Analytics') + ->name('All Position') ->expectsJsonData() //->transformer(ModelTransformer::class) ->itemKey('ap') ->collectionKey('ap') ->deny(AclRoles::UNAUTHORIZED) - ->handler(GaController::class) + ->handler(AllPositionController::class) ->endpoint(ApiEndpoint::get('', 'testAction') ->allow(AclRoles::USER) -- libgit2 0.21.4