Welcome Guest, Not a member yet? Register   Sign In
CI 2: Routing for admin/dashboard and general user
#1

[eluser]Unknown[/eluser]
I'm trying to figure out the best way to handle routing for an application that has an admin UI and a regular user UI. I'm sure this has been handled somewhere before, I'm hoping someone can point me to the right way to configure this.

I tried creating different application directories, but there are too many things that are shared -- the library, the model classes, etc. I think what I want to do is just have my admin controllers in their own directory, so that

mydomain.com/admin/membership/users

would use the Membership class in controllers/admin and call the 'users' method, but I'm not convinced that this is the only or the best way. Even so, I'm not sure how to configuring the routing so that this work.

Any suggestions?

Thx,

Tac


Messages In This Thread
CI 2: Routing for admin/dashboard and general user - by El Forum - 03-28-2011, 10:42 AM
CI 2: Routing for admin/dashboard and general user - by El Forum - 03-28-2011, 11:03 PM
CI 2: Routing for admin/dashboard and general user - by El Forum - 03-29-2011, 04:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB