Maybe I am crazy, but I use a totally different kind of routing. In
your case:
Router::connect('/*', array('controller' => 'pages', 'action' =>
'showLog'));
and then set the variable in the function:
function showLog($id)
{
//do something with $id
}
Obviously this works better when you're doing something like:
Router::connect('/*/account/password', array('controller' =>
'users', 'action' => 'changePassword'));
that doesn't need to be numerical only .. but hey
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---