summaryrefslogtreecommitdiff
path: root/app/controllers/google_api
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 17:41:36 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 17:44:11 +0200
commit0fbe0406fd7ced45939c79bcdd1fcbac08ddfa1b (patch)
treef8b5f9d7b3a0af7601df530f2081aeac214b8a4d /app/controllers/google_api
parent2178cd44c59effb67cef0743064a75f5073c9f45 (diff)
downloadgitlab-ce-0fbe0406fd7ced45939c79bcdd1fcbac08ddfa1b.tar.gz
Change `/google_api/authorizations/` to `/google_api/auth/`.
Diffstat (limited to 'app/controllers/google_api')
-rw-r--r--app/controllers/google_api/authorizations_controller.rb2
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