Request for URL with dashes

If I have a URL such as /mysite/user/changepassword, I may prefer that the URL be /mysite/user/change-password (better for readability). However to achieve I will need to insert an extra URL rule.

I would like to request that there be a way of having this work automatically. Please also see the following thread:

http://www.yiiframework.com/forum/index.php?/topic/14990-adding-dash-to-actions-eg-httpyiicomadminadd-account

Can’t you map it with the actions method?




function actions() {

    return array(

        'change-password' => 'changePassword'

    );

}


function changePassword() {

}