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