Added routes for monitors xml / json
parent
53c8f05812
commit
8e88fbe87c
|
@ -19,6 +19,13 @@
|
||||||
* @since CakePHP(tm) v 0.2.9
|
* @since CakePHP(tm) v 0.2.9
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load the API / REST routes
|
||||||
|
*/
|
||||||
|
Router::mapResources('monitors');
|
||||||
|
Router::parseExtensions();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Here, we are connecting '/' (base path) to controller called 'Pages',
|
* Here, we are connecting '/' (base path) to controller called 'Pages',
|
||||||
* its action called 'display', and we pass a param to select the view file
|
* its action called 'display', and we pass a param to select the view file
|
||||||
|
|
Loading…
Reference in New Issue