summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-01-16 18:48:10 -0800
committerValery Sizov <valery@gitlab.com>2015-01-16 18:48:10 -0800
commit5c7edea624ae16cee91f4bff0754565e21e76eae (patch)
treeb2546791b4cfd6a35f71acbce8245cd52b985780 /config
parentba74821d9c4e32577f9359e2b6f8b84975333303 (diff)
downloadgitlab-ci-5c7edea624ae16cee91f4bff0754565e21e76eae.tar.gz
OAuth2: config check
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 40a73fd..fcb2d4a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,7 +5,9 @@ GitlabCi::Application.routes.draw do
API::API.logger Rails.logger
mount API::API => '/api'
- resource :help
+ resource :help do
+ get :oauth2
+ end
resources :projects do
collection do