source: pro-violet-viettel/sourcecode/application/config/routes.php @ 409

Last change on this file since 409 was 409, checked in by quyenla, 11 years ago

smsm template

File size: 3.9 KB
RevLine 
[289]1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/*
3| -------------------------------------------------------------------------
4| URI ROUTING
5| -------------------------------------------------------------------------
6| This file lets you re-map URI requests to specific controller functions.
7|
8| Typically there is a one-to-one relationship between a URL string
9| and its corresponding controller class/method. The segments in a
10| URL normally follow this pattern:
11|
12|       example.com/class/method/id/
13|
14| In some instances, however, you may want to remap this relationship
15| so that a different class/function is called than the one
16| corresponding to the URL.
17|
18| Please see the user guide for complete details:
19|
20|       http://codeigniter.com/user_guide/general/routing.html
21|
22| -------------------------------------------------------------------------
23| RESERVED ROUTES
24| -------------------------------------------------------------------------
25|
26| There area two reserved routes:
27|
28|       $route['default_controller'] = 'welcome';
29|
30| This route indicates which controller class should be loaded if the
31| URI contains no data. In the above example, the "welcome" class
32| would be loaded.
33|
34|       $route['404_override'] = 'errors/page_missing';
35|
36| This route will tell the Router what URI segments to use if those provided
37| in the URL cannot be matched to a valid route.
38|
39*/
40
[294]41$route['default_controller'] = "frontend/home";
[289]42$route['404_override'] = '';
43
[313]44$route['violetservice/soanbai/mo'] = 'services/viettel/mo';
[341]45$route['admin'] = 'admin/home';
[345]46$route['admin/cong_tac_vien'] = 'admin/collaborator';
47$route['admin/cong_tac_vien/trang'] = 'admin/collaborator/getCollaborators/1';
[360]48$route['admin/cong_tac_vien/them'] = 'admin/collaborator/addCollaborator';
[345]49$route['admin/cong_tac_vien/trang/:any'] = 'admin/collaborator/getCollaborators/$1';
50$route['admin/cong_tac_vien/test'] = 'admin/collaborator/test';
[401]51$route['admin/cong_tac_vien/xem/:any'] = 'admin/collaborator/viewUser';
52$route['admin/cong_tac_vien/sua/:any'] = 'admin/collaborator/editUser';
53$route['admin/cong_tac_vien/xoa/:any'] = 'admin/collaborator/deleteUser';
[402]54$route['admin/cong_tac_vien/xoa_cong_tac_vien'] = 'admin/collaborator/dodeleteUser';
[401]55$route['admin/cong_tac_vien/cap_nhat'] = 'admin/collaborator/updateUser';
[375]56
[403]57
58$route['admin/mau_tin_nhan'] = 'admin/smstemplate';
[404]59$route['admin/mau_tin_nhan/trang'] = 'admin/smstemplate/getSmstemplates/1';
60$route['admin/mau_tin_nhan/them'] = 'admin/smstemplate/addSmstemplate';
61$route['admin/mau_tin_nhan/trang/:any'] = 'admin/smstemplate/getSmstemplates/$1';
[403]62$route['admin/mau_tin_nhan/test'] = 'admin/smstemplate/test';
[409]63$route['admin/mau_tin_nhan/xem/:any'] = 'admin/smstemplate/viewSms';
64$route['admin/mau_tin_nhan/sua/:any'] = 'admin/smstemplate/editSms';
65$route['admin/mau_tin_nhan/xoa/:any'] = 'admin/smstemplate/deleteSms';
66$route['admin/mau_tin_nhan/xoa_tin_nhan'] = 'admin/smstemplate/dodeleteSms';
67$route['admin/mau_tin_nhan/cap_nhat'] = 'admin/smstemplate/updateSms';
[403]68
69
[375]70$route['admin/quan_tri_vien'] = 'admin/admin_acc';
71$route['admin/quan_tri_vien/trang'] = 'admin/admin_acc/get_admins/1';
72$route['admin/quan_tri_vien/trang/:any'] = 'admin/admin_acc/get_admins/$1';
73$route['admin/quan_tri_vien/them'] = 'admin/admin_acc/add_admin';
74$route['admin/quan_tri_vien/sua/:any'] = 'admin/admin_acc/edit_admin/$1';
75$route['admin/quan_tri_vien/xoa/:any'] = 'admin/admin_acc/delete_admin/$1';
76$route['admin/quan_tri_vien/id/:any'] = 'admin/admin_acc/get_admin_by_id/$1';
77
78$route['admin/nguoi_dung'] = 'admin/user';
79$route['admin/nguoi_dung/trang'] = 'admin/user/get_users/1';
80$route['admin/nguoi_dung/trang/:any'] = 'admin/user/get_users/$1';
[396]81$route['admin/nguoi_dung/them'] = 'admin/user/add_user';
82$route['admin/nguoi_dung/sua/:any'] = 'admin/user/edit_user/$1';
83$route['admin/nguoi_dung/xoa/:any'] = 'admin/user/delete_user/$1';
84$route['admin/nguoi_dung/id/:any'] = 'admin/user/get_user_by_id/$1';
85
[289]86/* End of file routes.php */
87/* Location: ./application/config/routes.php */
Note: See TracBrowser for help on using the repository browser.