From 30aefe1097ce6194543b9d4fc982dad878f02e03 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 8 Jun 2015 17:51:59 +0000 Subject: [PATCH] Addnew route for new control API. Ref: https://github.com/ZoneMinder/ZoneM^Cder/issues/799#issuecomment-105233112 --- web/api/app/Config/routes.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/api/app/Config/routes.php b/web/api/app/Config/routes.php index d41c2fd9e..0f9343644 100755 --- a/web/api/app/Config/routes.php +++ b/web/api/app/Config/routes.php @@ -32,6 +32,10 @@ Router::mapResources('logs'); Router::mapResources('states'); Router::mapResources('zonepresets'); + + /* Add new API to retrieve camera controls - for PTZ */ + /* refer to https://github.com/ZoneMinder/ZoneMinder/issues/799#issuecomment-105233112 */ + Router::mapResources('controls'); Router::parseExtensions(); /**