Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Wiebers <kwiebers@gitlab.com>2019-07-25 18:59:31 +0300
committerKyle Wiebers <kwiebers@gitlab.com>2019-07-27 00:50:45 +0300
commit03a8f1088fa3f1c76c5b03722c62255ab8ba4cb6 (patch)
treef7ff93ec3e551b11f46364d74dc3d53b09b002e6 /app/models/concerns/token_authenticatable.rb
parent2219b140b6873b893a3cac2cae195b929a20f5aa (diff)
Update gitlab-styles to add Lint/SafeNavigationWithEmpty
Diffstat (limited to 'app/models/concerns/token_authenticatable.rb')
-rw-r--r--app/models/concerns/token_authenticatable.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/concerns/token_authenticatable.rb b/app/models/concerns/token_authenticatable.rb
index 1293df571a3..4099039dd96 100644
--- a/app/models/concerns/token_authenticatable.rb
+++ b/app/models/concerns/token_authenticatable.rb
@@ -3,10 +3,8 @@
module TokenAuthenticatable
extend ActiveSupport::Concern
- private
-
class_methods do
- private # rubocop:disable Lint/UselessAccessModifier
+ private
def add_authentication_token_field(token_field, options = {})
if token_authenticatable_fields.include?(token_field)