diff options
author | Valery Sizov <valery@gitlab.com> | 2015-01-18 02:37:27 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-01-18 02:40:09 +0300 |
commit | 20028523b5a2969b70a1fde9468c434b78f916ea (patch) | |
tree | f09290ba2943c70c1f961b24122eb685f5a7132a /config | |
parent | ada6c6080b2fa0d63003f8b29b5c32195254906d (diff) |
Application admin scaffold
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/doorkeeper.rb | 2 | ||||
-rw-r--r-- | config/routes.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index 536c849421e..23d9852725b 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -40,7 +40,7 @@ Doorkeeper.configure do # Optional parameter :confirmation => true (default false) if you want to enforce ownership of # a registered application # Note: you must also run the rails g doorkeeper:application_owner generator to provide the necessary support - enable_application_owner :confirmation => true + enable_application_owner :confirmation => false # Define access token scopes for your provider # For more information go to diff --git a/config/routes.rb b/config/routes.rb index 9deddf3eade..648ab53926d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -97,6 +97,8 @@ Gitlab::Application.routes.draw do end end + resources :applications + resources :groups, constraints: { id: /[^\/]+/ } do member do put :project_teams_update |