>  $Route->connect('/artists/view/*', array('controller' => 'artists',
> 'action' => 'view', 'artists', 'Artists'));
>  $Route->connect('/artists/*', array('controller' => 'artists',
> 'action' => 'index', 'artists', 'Artists'));


Just found the bug :-)


seems that in the past releases calling myapp.org/artists/type4
overwrite the array with "type4". on the latests releases the passed
array
overwrite the parameter passed via GET

index ($type=null)
{


}

so the solution was simple: remove the 2 exceeding declarations on the
array:

$Route->connect('/artists/view/*', array('controller' => 'artists',
'action' => 'view'));
$Route->connect('/artists/*', array('controller' => 'artists',
'action' => 'index'));


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