I'm new here, and to cakephp, and I need some help.
I have a "cms" prefix cms_ and i created some routes:
Router::connect('/:slug1', array('controller' => 'StaticPages', 'action' => 'display'));
Router::connect('/:slug1/:slug2', array('controller' => 'StaticPages', 'action' => 'display'));
Router::connect('/:slug1/:slug2/:slug3', array('controller' => 'StaticPages', 'action' => 'display'));
Router::connect('/:slug1/:slug2/:slug3/:slug4', array('controller' => 'StaticPages', 'action' => 'display'));
But these routes are replacing my prefix, how do i stop that?
William Rufino
Desenvolvedor Web - Analista de Sistemas
31 8875-3143
http://www.williamrufino.com.br
http://www.websitesinteligentes.com.br
@williamhrs
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment