X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..76d365ce71b942466d07480ded13098860d4f1b3:/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