]> git.openstreetmap.org Git - rails.git/blob - config/initializers/oauth.rb
56dd9ff25d572093523367d24b7594f7c34f7951
[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