]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Fix some broken translation lookups
[rails.git] / config / routes.rb
index da3921e4afe0b5921186d2da583411be5d34fda5..048db8b3365aad3335f2d147ac67754f5e1d15fa 100644 (file)
@@ -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