Hi there, I just started with Yii. It’s my first framework so I needed a day to “understand” all the logic and stuff. But now it’s just awesome!
Now my question. I want to do something like this:
[...] 'rules' => array ( 'videos' => 'media/list', 'pictures' => 'media/list', ) [...]
'videos' should append the GET param 'mediaType=1'
'pictures' should append the GET param 'mediaType=2'
How do I do this? Obviously there is no feature implemented to attach params to a rule/route? I could may use htacces to force those params, but that's kind of dirty because I already have my routes in the Yii config file.