]> git.openstreetmap.org Git - rails.git/blob - config/initializers/oauth.rb
Add thunderforest API key to example configuration
[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