Thanks Mathew,

This works like charm.. .thank you very much.

thanks.

On Sat, Nov 1, 2008 at 10:01 PM, Mathew <[EMAIL PROTECTED]> wrote:

>
> 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.
> >
>


-- 
Thanks & Regards,
Novice.

--~--~---------~--~----~------------~-------~--~----~
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