From 4f47fe6a6cbdfded5e1deca16708194f053d9c08 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Wed, 11 Oct 2017 15:49:55 +0900 Subject: [PATCH] Add - before google_api/auth/callback --- config/routes/google_api.rb | 8 +++++--- 1 file 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