Wednesday, July 29, 2009

Re: Routing /group/person/post instead of /post/id

I didn't see this situation explained there.

It would need to look up the group, then lookup the person associated
with that group, then lookup the post associated with that user before
it could tell the posts controller which post to show.

Ex.:
http://example.com/dev/miker/grilled-fish/
Lookup dev group, find mike,
Lookup mike user, find post grilled-fish
call posts controller for id xx associated with grilled-fish

Hopefully that makes more sense.
--~--~---------~--~----~------------~-------~--~----~
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: