diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-11 15:49:55 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-11 15:49:55 +0900 |
commit | 4f47fe6a6cbdfded5e1deca16708194f053d9c08 (patch) | |
tree | 4834b54c306235aec8c2b7115e5f56c0df9f19c6 /config | |
parent | a30417e5c57b9dbb1851ea070912f8c596a83f47 (diff) | |
download | gitlab-ce-4f47fe6a6cbdfded5e1deca16708194f053d9c08.tar.gz |
Add - before google_api/auth/callback
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/google_api.rb | 8 |
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 |