diff --git a/app/Config/routes.php b/app/Config/routes.php index deb7815..9dff834 100755 --- a/app/Config/routes.php +++ b/app/Config/routes.php @@ -33,9 +33,9 @@ Router::connect('/company', array('controller' => 'home', 'action' => 'company')); - Router::connect('/registration', array('controller' => 'registration', 'action' => 'main')); - Router::connect('/registration/user', array('controller' => 'registration', 'action' => 'worker')); - Router::connect('/registration/company', array('controller' => 'registration', 'action' => 'company')); + Router::connect('/company/registration', array('controller' => 'registration', 'action' => 'company')); + //Router::connect('/registration', array('controller' => 'registration', 'action' => 'main')); + Router::connect('/registration', array('controller' => 'registration', 'action' => 'worker')); Router::connect('/registration/active/:code', array('controller' => 'registration', 'action' => 'active'),array("code" => ".+")); Router::connect('/profil', array('controller' => 'user', 'action' => 'profil'));