Hi. I am trying to route a username to 2 controllers. I am coding for a shopping site, and what I am trying to do is this:
-- www.xyz.com/myUsernameA would route to the Users controller
www.xyz.com/myUsernameB would route to the Shops controller
A client of my site can be either a Shop or a User, and both models share from the same pool of unique usernames (similar to the facebook username model).
Is this possible in cake 2.x?
Thanks,
Robert
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment