OK. Zero cannot be an unnamed parameter like this: /mycontroller/index/
0, it's a feature. But this the test below fails too:
$result = Router::url(array('controller'='mycontroller',
'action'='index', 'id'=0));
$expected = '/mycontroller/index/id:0';
$this-assertEqual($result, $expected);
So,
On Jun 15, 8:30 am, Serge Rodovnichenko [EMAIL PROTECTED] wrote:
OK. Zero cannot be an unnamed parameter like this: /mycontroller/index/
0, it's a feature. But this the test below fails too:
$result = Router::url(array('controller'='mycontroller',
'action'='index', 'id'=0));
$expected =