fnando/sinatra-subdomain — Issue #4: Multiple routes on the same block
Author: pirukire
Created: 2012-01-14 15:18:20+00:00
State: open

It seems that putting multiple routes on the same subdomain block are not working correctly.

Try this:

```
subdomain :m do
get '/' do
"mobile home"
end

get '/about/' do
"mobile about"
end
end

get '/' do
"desktop home"
end

get '/about/' do
"desktop about"
end
```

Now test the urls:

```
project.dev:4567/ => desktop home
project.dev:4567/about/ => mobile about
m.project.dev:4567/ => mobile home
m.project.dev:4567/about/ => mobile about
```

The desktop about route is not accessible. Is this a bug?