How to use routes.rb to shorten url?

I have a url

localhost:3000/public/my/23

is it possible to have this instead that will load the above?

localhost:3000/my/23
(without public)

thanks

ok ive worked this out

map.connect ‘my/:id’, :controller => ‘public’, :action => ‘my’

but i it now possible to forward any one that types in public to be sent
to the /my/:id one?