visa_app/application/config/routes.php
venbatechnologies@gmail.com 9d83dc3ccb follow changes
2018-08-17 12:19:12 +05:30

114 lines
4.6 KiB
PHP
Executable File

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| https://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
| $route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'Login_Controller';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['Routes'] = 'Dashboard_Controller/index';
$route['Dashboard'] = 'Dashboard_Controller/Dashboard';
$route['country_master'] = 'Dashboard_Controller/country_master';
$route['Add_country_master'] = 'Dashboard_Controller/Add_country_master';
$route['Update_country_master'] = 'Dashboard_Controller/Update_country_master';
$route['Get_country_master'] = 'Dashboard_Controller/Get_country_master';
$route['city_master'] = 'Dashboard_Controller/city_master';
$route['Add_city_master'] = 'Dashboard_Controller/Add_city_master';
$route['Update_city_master'] = 'Dashboard_Controller/Update_city_master';
$route['GetAll_city_master'] = 'Dashboard_Controller/GetAll_city_master';
$route['visa_type_master'] = 'Dashboard_Controller/visa_type_master';
$route['Add_visa_type_master'] = 'Dashboard_Controller/Add_visa_type_master';
$route['Update_visa_type_master'] = 'Dashboard_Controller/Update_visa_type_master';
$route['GetAll_visa_type'] = 'Dashboard_Controller/GetAll_visa_type_master';
$route['document_master'] = 'Dashboard_Controller/document_master';
$route['Add_document_master'] = 'Dashboard_Controller/Add_document_master';
$route['Update_document_master'] = 'Dashboard_Controller/Update_document_master';
$route['GetAll_document_master'] = 'Dashboard_Controller/GetAll_document_master';
$route['country_visa_details'] = 'Dashboard_Controller/country_visa_details';
$route['favourite'] = 'Favourite_Controller/favourite';
$route['loginMe'] = 'Login_Controller/loginMe';
$route['forgotPassword'] = "Login_Controller/forgotPassword";
$route['resetPasswordUser'] = "Login_Controller/resetPasswordUser";
$route['resetPasswordConfirmUser'] = "Login_Controller/resetPasswordConfirmUser";
$route['createPasswordUser'] = "Login_Controller/createPasswordUser";
$route['register'] = 'Login_Controller/register';
$route['Add_Register'] = 'Login_Controller/Add_Register';
$route['user_details'] = 'User_Controller/user_details_master';
$route['profile'] = 'User_Controller/Profile';
$route['Updateprofile'] = 'User_Controller/Update_Profile';
$route['logout'] = 'User_Controller/logout';
$route['userListing'] = 'User_Controller/userListing';
$route['addNew'] = "User_Controller/addNew";
$route['addNewUser'] = "User_Controller/addNewUser";
$route['editOld'] = "User_Controller/editOld";
$route['editUser'] = "User_Controller/editUser";
$route['deleteUser'] = "User_Controller/deleteUser";
$route['loadChangePass'] = "User_Controller/loadChangePass";
$route['changePassword'] = "User_Controller/changePassword";
$route['checkEmailExists'] = "User_Controller/checkEmailExists";
$route['login-history'] = "User_Controller/loginHistoy";
/* End of file routes.php */
/* Location: ./application/config/routes.php */