According to the book (http://book.cakephp.org/view/950/Prefix-
Routing) it appears that this ought to work:
Router::connect("/{$prefix}/:controller/:action/*", array('prefix' =>
$prefix, $prefix => true));
When I use it, however, I get:
Undefined variable: prefix [APP/config/routes.php, line xx]
AmI doing something wrong or making the wrong assumption? ow can I get
this to work?
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 [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