diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 12:08:53 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 12:08:53 +0200 |
commit | 9d5f80e00b08fa75469fc8be1bb151308580de9a (patch) | |
tree | a36cf8f3841b145531caf20b063201483a2a7e62 /app/controllers/omniauth_callbacks_controller.rb | |
parent | 43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff) | |
download | gitlab-ce-9d5f80e00b08fa75469fc8be1bb151308580de9a.tar.gz |
Enable Style/MethodDefParentheses rubocop copstyle/enable-method-def-parentheses-rubocop-cop
Use def with parentheses when there are parameters.
See #17478
Diffstat (limited to 'app/controllers/omniauth_callbacks_controller.rb')
-rw-r--r-- | app/controllers/omniauth_callbacks_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/omniauth_callbacks_controller.rb b/app/controllers/omniauth_callbacks_controller.rb index df98f56a1cd..f35d631df0c 100644 --- a/app/controllers/omniauth_callbacks_controller.rb +++ b/app/controllers/omniauth_callbacks_controller.rb @@ -97,7 +97,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController handle_signup_error end - def handle_service_ticket provider, ticket + def handle_service_ticket(provider, ticket) Gitlab::OAuth::Session.create provider, ticket session[:service_tickets] ||= {} session[:service_tickets][provider] = ticket |