hi,
everyone.

how to distinguish param and action in cakephp's URL

for example
I have write
   [Router::connect('/', array('controller' => 'books', 'action' => 'show',
'home'));]
in my file of routes.php

I can use the link[http://www.mysite.com/] to visit the action

but if I plus a param 'texts'
I think the URL is[http://www.mysite.com/texts],

but I have a controller, it's name is texts too,
it's URL is [http://www.mysite.com/texts]

cakephp how to know the 'texts' is a controller or a param?

Thanks.

Rimoe

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