Re: Cake 1.2 Router::url method and 'id' parameter -- bug or feature?

2007-11-18 Thread Gwoo

feature
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Cake 1.2 Router::url method and 'id' parameter -- bug or feature?

2007-11-18 Thread [EMAIL PROTECTED]

Router.php revision 5887.

Router::url(array('controller'=>'controller','action'=>'action','id'=>'3'))

produces '/controller/action/3' instead of '/controller/action/id:3'.

and

$this->passedArgs contains [0]=>3 instead of [id]=>3.

This is a bug or feature? :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---