When creating rules for a route, it appears there is no way to say that:
array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
should be matched exactly.
I can write rules for /site/page with no problem, but capturing the fact that "view" value must equal "about" appears to not be possible?
The only alternative I’ve found is to write a full path URL, such as:
array('label'=>'About', 'url'=>'/site/page/view/about'),
Which would then be matched by:
'<_v:\w+>'=>'site/page/view/<_v>',
But strangely enough, is not matched by:
'<view:\w+>'=>'site/page',
This means that, a full hard-coded path route can be matched by regex expecting a hard-coded path.
But you can’t match a parameterized route using a path format.
And you can’t match a path format route using a parameterized format.
And you can’t match an explicit parameterized route with a specific value.
Correct?
I tend to be unclear, if that is the case here, let me know…