Yep...everything in the database is related by ID and model relationship is
all ID. Slug is only for URL. But when updating a profile the action is
site/controller/action/id exposing the ID. I would like to keep that hidden
and only show the slug. Is there away for that? 

-----Original Message-----
From: Miles J [mailto:[email protected]] 
Sent: June-17-09 7:47 PM
To: CakePHP
Subject: Re: Slug instead of ID


In a typical structure, you would still use id for everything. The only time
a slug is really used is when creating a URL to link to their profile.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to