francesc/rails-translate-routes — Issue #12: Does the gem work with subdomains?
Author: jlfenaux
Created: 2012-02-17 15:33:53+00:00
State: open

If I create two identical routes on two subdomains, only the first route is taken into account.
It works as if the subdomain constraint didn't exit.

ex :

```ruby
constraints(:subdomain => 'foo') do
match '/' => 'home#foo', :as => :root
end

constraints(:subdomain => 'bar') do
match '/' => 'home#bar', :as => :bar_home
end
```