diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-05 18:41:36 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-05 18:44:11 +0300 |
commit | 0fbe0406fd7ced45939c79bcdd1fcbac08ddfa1b (patch) | |
tree | f8b5f9d7b3a0af7601df530f2081aeac214b8a4d /app/controllers/google_api | |
parent | 2178cd44c59effb67cef0743064a75f5073c9f45 (diff) |
Change `/google_api/authorizations/` to `/google_api/auth/`.
Diffstat (limited to 'app/controllers/google_api')
-rw-r--r-- | app/controllers/google_api/authorizations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/google_api/authorizations_controller.rb b/app/controllers/google_api/authorizations_controller.rb index 79f49d598af..e4f76fb493e 100644 --- a/app/controllers/google_api/authorizations_controller.rb +++ b/app/controllers/google_api/authorizations_controller.rb @@ -2,7 +2,7 @@ module GoogleApi class AuthorizationsController < ApplicationController def callback token, expires_at = GoogleApi::CloudPlatform::Client - .new(nil, callback_google_api_authorizations_url) + .new(nil, callback_google_api_auth_url) .get_token(params[:code]) session[GoogleApi::CloudPlatform::Client.session_key_for_token] = token |