CodeIgniter Forums
controllers in subfolders problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: controllers in subfolders problem (/showthread.php?tid=6667)



controllers in subfolders problem - El Forum - 03-07-2008

[eluser]mikegioia[/eluser]
I was wondering if there was any way to specify a default for controllers residing in subfolders. Say I have a subfolder named 'page' containing a bunch of controllers for page/dashboard, page/settings, etc. When I navigate to just page/ i get my home page. Is there any way to reroute this? I've tried re-routing page/ but it doesn't work properly.


controllers in subfolders problem - El Forum - 03-07-2008

[eluser]Avatar[/eluser]
http://ellislab.com/forums/viewthread/73367/


controllers in subfolders problem - El Forum - 03-07-2008

[eluser]mikegioia[/eluser]
Well I think I figured it out - I hadn't put a controller with the same name as my default' controller in the subfolder. Doing that fixed the problem for anyone interested.