Imagine you have a standard social network with users who can have
blogs, pictures and videos.
I need to setup my routes like this:
http://www.mysite.com/michael --> this is like /
users/view/123
http://www.mysite.com/michael/videos/123 --> this would show
michaels video number 123
http://www.mysite.com/michael/pictures/ --> this would be like
michaels /pictures/index
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment