X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/28af501924c6cc30560f463fe818bb098a18b9cc..2c93b6e8e10ded721d2a9a088dbcf3158f46f1b1:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index da3921e4a..048db8b33 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,10 @@ OpenStreetMap::Application.routes.draw do + use_doorkeeper :scope => "oauth2" do + controllers :authorizations => "oauth2_authorizations", + :applications => "oauth2_applications", + :authorized_applications => "oauth2_authorized_applications" + end + # API namespace :api do get "capabilities" => "capabilities#show" # Deprecated, remove when 0.6 support is removed