02-20-2011, 04:40 AM
[eluser]Blue Sapphire[/eluser]
I have created 'admin' folder in 'controllers' folder. I have created a controller (user) in 'admin' folder.
I have added following line in routes.php file :
I am using following url to access user controller in admin folder.
My application is routed to default controller.
Can someone guide me what Iam doing wrong and how it can be rectified.
Thanks in advance
I have created 'admin' folder in 'controllers' folder. I have created a controller (user) in 'admin' folder.
I have added following line in routes.php file :
Quote:$route['admin/(:any)'] = 'admin/([a-zA-Z0-9/_]+)';
I am using following url to access user controller in admin folder.
Quote:http://localhost/main/forum/admin/user/
My application is routed to default controller.
Can someone guide me what Iam doing wrong and how it can be rectified.
Thanks in advance