[solved] need help to write routes |
hi, i am using ci3 with wiredsign's hmvc.
i have the users modules with two controllers 1) public_user 2)admin_user these are the routes PHP Code: $route['admin/users'] = 'users/admin'; is there any way to achieve this without writing routes for each URL individually ? i tried this but not working PHP Code: $route['([a-zA-Z_-\/]+)admin/users([a-zA-Z_-\/]+)'] = '$1users/admin$2'; ![]() ![]() Learning best practices Rate my post if you found it helpfull |
Messages In This Thread |
[solved] need help to write routes - by jaynarayan - 07-26-2016, 10:24 PM
RE: need help to write routes - by jaynarayan - 07-27-2016, 01:25 AM
|