* its action called 'display', and we pass a param to select the view file
* to use (in this case, /app/View/Pages/home.ctp)...
*/
- // HOME = PAR DEFAUT
+ // DEFAULT HOME (CAKEPHP PAGE)
//Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
- // HOME = INSTANCES
+ // INSTANCES INDEX AS HOME PAGE
Router::connect('/', array('controller' => 'instances', 'action' => 'index'));
/**
* ...and connect the rest of 'Pages' controller's URLs.
//Router::parseExtensions('json');
- // MODE REFERENCE, POUR CHANGER -> lib/Cake/Routing/Router.php ligne 531
+ // REFERENCE MODE, IN ORDER TO CHANGE IT -> lib/Cake/Routing/Router.php l531
/*Router::resourceMap(array(
array('action' => 'rest_get_all', 'method' => 'GET', 'reference' => false),
array('action' => 'rest_get', 'method' => 'GET', 'reference' => true),