From 8015a23b5c8c148f77586c46387c88948f32e023 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 17:21:34 +0200 Subject: [PATCH] doc metrics --- app/library/App/Resources/GaResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index c32f113..d424677 100644 --- a/app/library/App/Resources/GaResource.php +++ b/app/library/App/Resources/GaResource.php @@ -28,7 +28,7 @@ class GaResource extends ApiResource { ->deny(AclRoles::UNAUTHORIZED) ->handler(GaController::class) - ->endpoint(ApiEndpoint::get('/', 'getAction') + ->endpoint(ApiEndpoint::get('/{metric}', 'getAction') ->allow(AclRoles::USER) ->description('Returns data from Google Analytics Api') ) -- libgit2 0.21.4