]> git.openstreetmap.org Git - rails.git/blob - config/initializers/oauth.rb
Merge remote-tracking branch 'openstreetmap/pull/1285'
[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
6   module RequestProxy
7     class RackRequest
8       def method
9         request.request_method
10       end
11     end
12   end
13 end