diff options
Diffstat (limited to 'app/uploaders/avatar_uploader.rb')
-rw-r--r-- | app/uploaders/avatar_uploader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb index 9af59b0aceb..307350e76d5 100644 --- a/app/uploaders/avatar_uploader.rb +++ b/app/uploaders/avatar_uploader.rb @@ -7,7 +7,7 @@ class AvatarUploader < GitlabUploader prepend ObjectStorage::Extension::RecordsUploads def exists? - model.avatar.file && model.avatar.file.present? + model.avatar.file&.present? end def move_to_store |