Thank you for these links, I am reading them now.  It's starting to
become more clear, I'll add another reply if any other questions come
up.

On Jun 6, 6:34 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jun 6, 8:25 am, "Turnquist, Jonah" <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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...
>
> Won't help for the next problem if you avoid reading their docs too 
> ;)http://book.cakephp.org/view/46/routes-configuration
--~--~---------~--~----~------------~-------~--~----~
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