mbleigh / subdomain-fu

A new plugin approach to attempting to solve the usage of subdomains in linking and routing in Rails projects.
http://rdoc.info/projects/mbleigh/subdomain-fu
Other
586 stars 118 forks source link

default to :subdomain => false for all routes #18

Open ghazel opened 13 years ago

ghazel commented 13 years ago

Is there a way to default to :subdomain => false for all routes? I already have a bunch of named routes, and if I never specified a subdomain for them in the routes file, I would like my_named_route_url to equal my_named_route_url(:subdomain => false) even if current_subdomain is "foo"

holden commented 12 years ago

Ever figure that one out? I'd also like it if it defaulted to false.

ghazel commented 12 years ago

I switched to subdomain_routes instead.