Forum: Ruby on Rails Correct URLs for routes with subdomain condition?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kris (Guest)
on 2007-03-01 22:39
(Received via mailing list)
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 but the problem is that
all URLs are then generated for instead of as
I'd like it.
Any idea how to get around that?

This topic is locked and can not be replied to.