]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Make OAuth work again
[rails.git] / config / routes.rb
index 471f67e732f5b8911914068f5f26eb356448fb27..1916ae74a81dcd784aa60a7a2929855b94976e2e 100644 (file)
@@ -213,7 +213,8 @@ OpenStreetMap::Application.routes.draw do
     resources :oauth_clients
   end
   match '/oauth/revoke' => 'oauth#revoke'
-  match '/oauth/authorize' => 'oauth#oauthorize', :as => :authorize
+  match '/oauth/authorize' => 'oauth#authorize', :as => :authorize
+  match '/oauth/token' => 'oauth#token', :as => :token
   match '/oauth/request_token' => 'oauth#request_token', :as => :request_token
   match '/oauth/access_token' => 'oauth#access_token', :as => :access_token
   match '/oauth/test_request' => 'oauth#test_request', :as => :test_request