What I want:

/scripts/<id>
to route to
/scripts/view<id>

Simple.  What I have:

Router::connect('/scripts/*', array('controller' => 'scripts',
'action' => 'view'));

This works for urls such as /scripts/2

But /scripts/2fsdfsdfe will also work as /scripts/2 which it shout not

Also now /scripts/ with a trailing slash does not work as expected


grrr.... I'm starting to consider going back to codeigniter... they
allowed for regular expressions...

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