padrino/padrino-framework — Issue #772: Strange behavior with controllers and map 
Author: cj
Created: 2012-01-30 18:38:29+00:00
State: open

Padrino v. 0.10.5

So if I have:

```
Oauth.controllers :oauth_apps, map: '/oauth/apps' do

get :new do
@client = OAuth2::Model::Client.new
haml 'oauth/apps_new'
end

end
```

I run `padrino rake routes` It gives me `(:oauth, :apps, :new) GET /oauth/apps/oauth_apps/new` when I would expect to give me `(:oauth, :apps, :new) GET /oauth/apps/new`

Is this a bug?

Many thanks