Routing like user_name.site.pl


#1

Hi!

Let’s say I have user with login adrian and know when someone type in
browser adrian.sprzedambyka.pl to open controller page, action show
with login = adrian in params. I’ve tried to put:

map.user_page_show ‘:login.sprzedambyka.pl’, :controller =>
‘page’, :action => ‘show’

but it didn’t work.

I would apprieciate any help.

Adrian