Add - before google_api/auth/callback

This commit is contained in:
Shinya Maeda 2017-10-11 15:49:55 +09:00
parent a30417e5c5
commit 4f47fe6a6c
1 changed files with 5 additions and 3 deletions

View File

@ -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