restful route customization

How can i customize restful route urls to friendly urls ?

i have
http://mydomain.com/pages/424/

and i want to have
http://mydomain.com/pages/424/something-something