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:

Can’t you map it with the actions method?

function actions() {

    return array(

        'change-password' => 'changePassword'



function changePassword() {