]> git.openstreetmap.org Git - rails.git/blob - config/initializers/oauth.rb
Change Where am I to Where is this on left sidebar
[rails.git] / config / initializers / oauth.rb
1 require "oauth/rack/oauth_filter"
2
3 Rails.configuration.middleware.use OAuth::Rack::OAuthFilter
4
5 module OAuth
6   module RequestProxy
7     class RackRequest
8       def method
9         request.request_method
10       end
11     end
12   end
13 end