Sorry, my mistake.

I forgot to tell you to remove the "array('pass'=>array('uid'))" from
your routes, and then read the UID parameter from the $this-
>params['uid'] in your Users controller Friends action.

function friends()
{
  $uid = $this->params['uid'];
}

You'll need to check if isset($this->params['uid']), because /users/
friends unless routed to a 404 will still call the same action without
a UID.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to