Hi, I'm reading the routing docs here:
http://book.cakephp.org/2.0/en/development/routing.html
Basically what it says is that the following route config:
Router::connect('/foo/bar/:year/:month/:day', array('controller' =>
'foo', 'action' => 'bar', 'day' => null));
would treat the last element as optional, and would therefore also
match this URL:
/foo/bar/1/2
yet it doesn't. It does match /foo/bar/1/2/3
CakePHP 2.1.2
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php