Hello,
I have a question about urlManager. I have link in menu, defined like this:
array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about'))
So this is one of the static pages, displayed by the ‘page’ action in controller (generally good idea to have one action for any static page in controller). My question: is there a way to have url like http://mydomain.com/about for this static page? Or maybe in this case I have to move this view to separate action to make such url? The only thing that I achieved so far is to define in pattern and route, in urlManager, this way:
'about' => 'site/page'
and it makes url like: http://mydomain.com/about?view=about , but its not exacly what i want.
Thanks for any help.