how to use routes.rb to shorten url??

To a specific id? like 23? just do map.connect 'my/23', :controller => 'public', :action => 'my', :id => '23'

paul escreveu: