socialcast/devise_oauth2_providable — pull request #24 by BRMatt (2011-11-27 18:00:52+00:00)
Title: Adapt authorizations controller to be scope agnostic, refs #23

Just starting a pull request for this.

Currently doesn't include tests (noticed that the routing for the authorization controller is failing in routing tests so not sure if integration test is possible) or documentation (currently need to wrap the mount in a `devise_scope`)

```ruby
devise_scope :member do
mount Devise::Oauth2Providable::Engine => '/oauth2'
end
```

This is currently a breaking change, need to make it backwards compatible.