Addnew route for new control API. Ref: https://github.com/ZoneMinder/ZoneM^Cder/issues/799#issuecomment-105233112

This commit is contained in:
Pliable Pixels 2015-06-08 17:51:59 +00:00
parent f723fc58b2
commit 30aefe1097
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@
Router::mapResources('logs'); Router::mapResources('logs');
Router::mapResources('states'); Router::mapResources('states');
Router::mapResources('zonepresets'); 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(); Router::parseExtensions();
/** /**