'home', 'action' => 'home')); Router::connect('/login', array('controller' => 'home', 'action' => 'login')); Router::connect('/logout', array('controller' => 'home', 'action' => 'logout')); Router::connect('/impressum', array('controller' => 'home', 'action' => 'impressum')); Router::connect('/agb', array('controller' => 'home', 'action' => 'agb')); Router::connect('/contact', array('controller' => 'home', 'action' => 'contact')); Router::connect('/profil', array('controller' => 'user', 'action' => 'profil')); Router::connect('/profil/page/:page', array('controller' => 'user', 'action' => 'profil'),array("page" => "[0-9]+")); Router::connect('/settings', array('controller' => 'user', 'action' => 'settings_account')); Router::connect('/settings/pages', array('controller' => 'user', 'action' => 'settings_pageInh')); Router::connect('/settings/pages/:page', array('controller' => 'user', 'action' => 'settings_pageInh'),array("page" => "[0-9]+")); Router::connect('/settings/isearch', array('controller' => 'user', 'action' => 'settings_isearch')); Router::connect('/user/:id', array('controller' => 'user', 'action' => 'profil'),array("id" => "[0-9]+")); Router::connect('/user/:id/page/:page', array('controller' => 'user', 'action' => 'profil'),array("id" => "[0-9]+","page" => "[0-9]+")); Router::connect('/opening', array('controller' => 'job', 'action' => 'openingList')); Router::connect('/opening/add', array('controller' => 'job', 'action' => 'openingAdd')); Router::connect('/opening/edit/:id', array('controller' => 'job', 'action' => 'openingEdit'),array("id" => "[0-9]+")); Router::connect('/opening/:id', array('controller' => 'job', 'action' => 'openingGet'),array("id" => "[0-9]+")); Router::connect('/opening/:id/:favorite', array('controller' => 'job', 'action' => 'openingGet'), array("id" => "[0-9]+",'favorite' => '(?i:favorite)')); Router::connect('/opening/:id/application', array('controller' => 'job', 'action' => 'applicationByOpening'),array("id" => "[0-9]+")); Router::connect('/application', array('controller' => 'job', 'action' => 'applicationList')); Router::connect('/application/:id', array('controller' => 'job', 'action' => 'applicationGet'),array("id" => "[0-9]+")); Router::connect('/application/:id/page/:page', array('controller' => 'job', 'action' => 'applicationGet'),array("id" => "[0-9]+","page" => "[0-9]+")); Router::connect('/application/:id/curriculum:vitea', array('controller' => 'job', 'action' => 'applicationGet'), array("id" => "[0-9]+",'vitea' => '(?i:vitea)')); Router::connect('/application/:id/mess:ages', array('controller' => 'job', 'action' => 'applicationGet'), array("id" => "[0-9]+",'ages' => '(?i:ages)')); Router::connect('/application/:id/arc:hiv', array('controller' => 'job', 'action' => 'applicationGet'), array("id" => "[0-9]+",'hiv' => '(?i:hiv)')); Router::connect('/applicate/:id', array('controller' => 'job', 'action' => 'applicationSend'),array("id" => "[0-9]+")); Router::connect('/favorite', array('controller' => 'job', 'action' => 'favorite')); Router::connect('/search', array('controller' => 'search', 'action' => 'listopening')); Router::connect('/test/', array('controller' => 'user', 'action' => 'test')); Router::parseExtensions('json'); Router::connect('/profil/save/cv', array('controller' => 'user', 'action' => 'saveCvJson')); Router::connect('/settings/pages/delete', array('controller' => 'user', 'action' => 'savePageDeleteJson')); Router::connect('/settings/pages/order', array('controller' => 'user', 'action' => 'savePageOrder')); /** * ...and connect the rest of 'Pages' controller's URLs. */ //Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); /** * Load all plugin routes. See the CakePlugin documentation on * how to customize the loading of plugin routes. */ // CakePlugin::routes(); /** * Load the CakePHP default routes. Only remove this if you do not want to use * the built-in default routes. */ // require CAKE . 'Config' . DS . 'routes.php';