]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/oauth.rb
Update to iD v1.8.5
[rails.git] / config / initializers / oauth.rb
index 56dd9ff25d572093523367d24b7594f7c34f7951..437a00c97d12d88dd90162c5d70146917997fc51 100644 (file)
@@ -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