On Jun 1, 8:35 pm, Dave <[email protected]> wrote: > When I view the rendered HTML it shows > <form action="/users/update/3" method="post" id="UserUpdateForm"> > > where 3 is the user.id. I am using unique slugs in the app,can I > change 3 to the user.slug and if so how can I do this?
If you want to know your users by the slug, you should consider modifying the User model. However if you just want to change the post url of your form, you can use the "url" option instead of the "action" option: http://book.cakephp.org/view/186/options-url Regards Jonathan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
