I'm using subdomain_fu successfully and generating subdomain routes like this:
rotues.rb: map.city_root '',:controller => 'cities', :action => 'index', :conditions => { :subdomain => /.+/ } using it in a view: <%= link_to city.name, city_root_path(:subdomain => city.subdomain)%> that works well, now I can't figure out how to generate a nested route with subdomain, i.e. miami.site.com/users/1 trying any combination of the form user_path(@user,:subdomain => city.subdomain) does nothing excepnt append a parameter at the end of the url like this: site.com/users/1?subdomain=miami help is greatly appreciated guys! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---