I just found that it does pass the ID just not the same way that non-
restful cake works.

You need to grab the id from $this->params['id']

On Dec 21, 4:17 pm, dizz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I see in the code that there is plans to make CakePHP RESTful.
>
> Does this functionality work yet? I have been testing with a Post/
> Posts model/controller and have added the
> Router::mapResources('posts'); to the routes file.
>
> For some reason if I go to /cakeapp/posts/1 it sends me back to the
> index method with the session flash stating that there is an invalid
> post.
>
> Has anyone gotten this to work?
>
> Thanks,
> -Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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