]> git.openstreetmap.org Git - rails.git/blob - config/initializers/oauth.rb
Merge branch 'master' into openstreetbugs
[rails.git] / config / initializers / oauth.rb
1 require 'oauth/rack/oauth_filter'
2
3 Rails.configuration.middleware.use OAuth::Rack::OAuthFilter
4
5 module OAuth::RequestProxy
6   class RackRequest
7     def method
8       request.request_method
9     end
10   end
11 end