my_controller/index | my-controller/my-method -> my_controller/my_method */ $route['default_controller'] = 'welcome'; $route['admin'] = 'HRAdmin/login'; $route['logout'] = 'HRAdmin/logout'; $route['dashboard'] = 'HRAdmin/dashboard'; $route['roles'] = 'HRAdmin/roles'; $route['add-edit-role/(:any)'] = 'HRAdmin/add_edit_role/$1'; $route['users'] = 'HRAdmin/users'; $route['add-edit-user/(:any)'] = 'HRAdmin/add_edit_user/$1'; $route['forgot-password'] = 'HRAdmin/forgot_password'; $route['reset-password/(:any)'] = 'HRAdmin/reset_password/$1'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; //shankar code start here $route['designation'] = 'HRAdmin/designation'; $route['department'] = 'HRAdmin/department'; $route['staffs'] = 'HRAdmin/staffs'; $route['staff-roles'] = 'HRAdmin/staff_roles'; $route['ae-staff/(:any)'] = 'HRAdmin/ae_staff/$1';