CodeIgniter Forums
Access index of a sub-folder with controllers in it - 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: Access index of a sub-folder with controllers in it (/showthread.php?tid=45991)



Access index of a sub-folder with controllers in it - El Forum - 10-13-2011

[eluser]Unknown[/eluser]
I have an application setup with a management area like this:

Code:
- application
    - controllers
        - manage (sub-folder)
            - administration (controller)
                - login (method)
                - logout (method)
            - dashboard (controller)

The application works great, and nothing's actually broken, but I cannot figure out how to access any sort of index for the sub-folder. I've tried routes and other things, but for whatever reason I cannot determine how to do this.

The following work:
http://localhost/manage/dashboard
http://localhost/manage/administration/login
http://localhost/manage/administration/logout

This, however...does not:
http://localhost/manage/

Maybe this is a bug or something? It's more likely that there's a way to do this and I simply haven't figured out how to yet. Thanks for your help :down: