X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..69c1f6d1862aad00f80a0d2e32dbbe70aba65649:/config/initializers/oauth.rb diff --git a/config/initializers/oauth.rb b/config/initializers/oauth.rb index 56dd9ff25..437a00c97 100644 --- a/config/initializers/oauth.rb +++ b/config/initializers/oauth.rb @@ -1,11 +1,13 @@ -require 'oauth/rack/oauth_filter' +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