Correct URLs for routes with subdomain condition?


#1

Hi, I’m using Dan W.'s request routing plugin and I have a route set
up as:
map.user “/:name/:action”, :name => ‘action’, :controller =>
“user”, :conditions => { :subdomain => ‘id’ }

Now it works when I go to id.domain.com/kris but the problem is that
all URLs are then generated for id.domain.com instead of domain.com as
I’d like it.
Any idea how to get around that?

Kris