<?php
/*
*

 ______   _______  __   __  _______  _______  ___   _______ 
|      | |       ||  |_|  ||       ||       ||   | |       |
|  _    ||    ___||       ||   _   ||_     _||   | |       |
| | |   ||   |___ |       ||  | |  |  |   |  |   | |       |
| |_|   ||    ___||       ||  |_|  |  |   |  |   | |      _|
|       ||   |___ | ||_|| ||       |  |   |  |   | |     |_ 
|______| |_______||_|   |_||_______|  |___|  |___| |_______|
 _______  __   __  _______                                  
|       ||  |_|  ||       |                                 
|       ||       ||  _____|                                 
|       ||       || |_____                                  
|      _||       ||_____  |                                 
|     |_ | ||_|| | _____| |                                 
|_______||_|   |_||_______|                                                   
                                              
                                           
*
*
*/

/**
 * Demotic CMS is a fork of ImpressPages.
 * AUTHOR: Demotic
 * @package Demotic
 */

$routes['user/passwordReset'] = array(
    'name' => 'User_passwordReset1',
    'controller' => 'SiteController',
    'action' => 'passwordReset'
);

$routes['user/passwordReset/{userId}/{secret}'] = array(
    'name' => 'User_passwordReset2',
    'controller' => 'SiteController',
    'action' => 'passwordReset2'
);

$routes['user/updatePassword'] = array(
    'name' => 'User_updatePassword',
    'controller' => 'SiteController',
    'action' => 'updatePassword'
);

$routes['user/registration'] = array(
    'name' => 'User_registration',
    'controller' => 'SiteController',
    'action' => 'registration'
);

$routes['user/login'] = array(
    'name' => 'User_login',
    'controller' => 'SiteController',
    'action' => 'login'
);

$routes['user/logout'] = array(
    'name' => 'User_logout',
    'controller' => 'SiteController',
    'action' => 'logout'
);

$routes['user/profile'] = array(
    'name' => 'User_profile',
    'controller' => 'SiteController',
    'action' => 'profile'
);


$routes['user/loginAsUser/{userId}'] = array(
    'name' => 'User_loginAsUser',
    'controller' => 'AdminController',
    'action' => 'loginAsUser'
);

