X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/baf10cd39289cd7e94a819305e46f43e85a136c6..5cbd4038edb32b0304bd766e70fc680ea447b52b:/config/initializers/oauth.rb diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 56dd9ff25..fa9685d70 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -2,10 +2,12 @@ require 'oauth/rack/oauth_filter' Rails.configuration.middleware.use OAuth::Rack::OAuthFilter -module OAuth::RequestProxy - class RackRequest - def method - request.request_method +module OAuth + module RequestProxy + class RackRequest + def method + request.request_method + end end end end