Welcome Guest, Not a member yet? Register   Sign In
Help with URI routes
#1

[eluser]Temple[/eluser]
Hey All, been using CodeIgniter for a while now. A lot of my controllers are getting big, and I read you can use a folder within the application/controllers folder to break the functions down to single pages instead of a big one.

This is fantastic however, is there a way to keep routing the same even though it is a folder? What I mean is, default behavior is:

Code:
http://www.url.com/class/function/id/

However, if my controller is a folder, it becomes:

Code:
http://www.url.com/folder/class/function/id/

Is there a way to keep the URI routing as the default non folder behavior? Because of the class, it seems hard to me Sad

Thanks in advance for all replies.


Messages In This Thread
Help with URI routes - by El Forum - 04-10-2008, 05:14 PM
Help with URI routes - by El Forum - 04-10-2008, 07:44 PM
Help with URI routes - by El Forum - 04-10-2008, 08:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB