summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-10-18 00:55:42 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-10-26 14:27:05 +0800
commit52fa309e86d1bafc6b8a986d8bd74fd906b1ebc9 (patch)
tree879d8ed6fb6646d1a642a24460f03f6409fb0bd3 /config
parentf1701c0fec096184a5908df65187573209dd6254 (diff)
downloadgitlab-ce-52fa309e86d1bafc6b8a986d8bd74fd906b1ebc9.tar.gz
Extract EE only oauth routes and add tests
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c081ca9672a..8723a928cc3 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -34,6 +34,8 @@ Rails.application.routes.draw do
match '*all', via: [:get, :post], to: proc { [404, {}, ['']] }
end
+ draw :oauth
+
use_doorkeeper_openid_connect
# Autocomplete