summaryrefslogtreecommitdiff
path: root/config/routes/google_api.rb
diff options
context:
space:
mode:
authorKamil TrzciƄski <ayufan@ayufan.eu>2017-10-11 09:55:47 +0000
committerLin Jen-Shin <godfat@godfat.org>2017-10-11 23:07:46 +0800
commit5f2901bf5b56caa3adfa3f63c87a68db4d2dd184 (patch)
treeb874e352591aafa9e5f1ca627b8433decec95cf9 /config/routes/google_api.rb
parente451e7a16db4da4e2b01ebe64b0b9afc541a3829 (diff)
downloadgitlab-ce-5f2901bf5b56caa3adfa3f63c87a68db4d2dd184.tar.gz
Merge branch 'fix/sm/move-callback-route-google_api-auth-callback-for-oauth-under' into 'master'
Move callback route(`google_api/auth/callback`) for Oauth under `-` Closes #38911 See merge request gitlab-org/gitlab-ce!14802
Diffstat (limited to 'config/routes/google_api.rb')
-rw-r--r--config/routes/google_api.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/routes/google_api.rb b/config/routes/google_api.rb
index 3fb236d3d51..a119b47c176 100644
--- a/config/routes/google_api.rb
+++ b/config/routes/google_api.rb
@@ -1,5 +1,7 @@
-namespace :google_api do
- resource :auth, only: [], controller: :authorizations do
- match :callback, via: [:get, :post]
+scope '-' do
+ namespace :google_api do
+ resource :auth, only: [], controller: :authorizations do
+ match :callback, via: [:get, :post]
+ end
end
end