[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