<?php
$route['users/list'] = 'core/users/Users/list';
$route['users/delete'] = 'core/users/Users/deleteUser';
$route['users/changeStatus'] = 'core/users/Users/changeStatus';
$route['user/(:num)'] = 'core/users/Users/userDetails/$1';
$route['changePassword'] = 'core/users/Users/confirm_password/';
$route['user/add'] = 'core/users/Users/userDetails';
$route['user/edit/(:num)'] = 'core/users/Users/userDetails/$1';
//$route['users/{}'] = 'SearchAdmin/userDetails';

// my profile


$route['delProfilePic/(:num)'] = "core/users/User/removeProfilePicFile/$1";

//$route['admins'] = 'SearchAdmin/index';
//$route['admins/status'] = 'SearchAdmin/changeStatus';
//$route['addadmin/(:num)'] = 'SearchAdmin/getAdminDetails/$1';
//$route['changePassword/(:num)'] = 'SearchAdmin/confirm_password/$1';
//$route['changePassword'] = 'SearchAdmin/confirm_password/';

$route['resetPasswordRequest'] = 'core/users/User/resetPasswordRequest';
$route['validateOtp/(:num)'] = 'core/users/User/validateOtp/$1';
//$route['updatePassword/(:num)'] = 'SearchAdmin/updatePassword/$1';

$route['setModuleDefaultView'] = 'core/users/User/setModuleDefaultView';
//$route['deleteUserForever'] = 'core/users/Users/deleteForever';

///added by sanjay to update firebase token
//$route['uToken'] = 'SearchAdmin/updateToken';
$route['verifyUser'] = 'core/users/User/verifyUser';

$route['me/update'] = 'core/users/User/profileUpdate';
$route['me/profile'] = 'core/users/User/profileData';
$route['me/profile-pic'] = 'core/users/User/setprofilePic';
$route['me/update/password'] = 'core/users/User/ChangePassword/';
$route['me/profile-pic/delete'] = 'core/users/User/deleteProfilePic';
$route['me/avatar/(:num)'] = 'core/users/User/avatar/$1';


?>