> The migration guide says 1.3
>
>
>
> Router::connect('/([0-9]+)-p-(.*)/', array('controller' => 'products',
> 'action' => 'show'));
>
> Is no longer good.
>
>
>
> My 1.2.x app I have
>
>
>
> Router::connect('/:user_slug/',array('controller' => 'profiles', 'action' =>
> 'view'),array('user_slug' => '[-_A-Za-z0-9]+','pass' =>
> array('user_slug')));
>
>
>
> Which allowed site.com/myname to the user profile view
>
>
>
> Is this no longer going to work in 1.3?
>
I have 'slug' => '[-_a-z]+' working fine, so yours should, also.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment