CodeIgniter Forums
Modular Separation Config Route problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Modular Separation Config Route problem (/thread-47602.html)



Modular Separation Config Route problem - El Forum - 12-14-2011

[eluser]Prabhjeet[/eluser]
Hi,

I have a small problem with MS custom routing file.

Here I have code in main routes.php file and its working fine
users(module)/admin(directory)/users(controller)
Code:
$route['admin/users'] = 'users/admin/users';

but now when I put this code in users module's config directory I get 404 error. I want to separate routes according to their relevant modules.

Help please!