summaryrefslogtreecommitdiff
path: root/app/uploaders/avatar_uploader.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-09-10 17:41:51 +0200
committerJames Lopez <james@jameslopez.es>2018-09-10 17:41:51 +0200
commit78cd19631a5e02d30c22944a201d7074a3653ccf (patch)
tree0237cf6f459f5d79f81e92fb957a3e7c8f605d9f /app/uploaders/avatar_uploader.rb
parentfab15563963029c9f067d11d3d43fe3e6fac09a1 (diff)
downloadgitlab-ce-78cd19631a5e02d30c22944a201d7074a3653ccf.tar.gz
fix avatar uploader error
Diffstat (limited to 'app/uploaders/avatar_uploader.rb')
-rw-r--r--app/uploaders/avatar_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb
index 8526bc16390..c0165759203 100644
--- a/app/uploaders/avatar_uploader.rb
+++ b/app/uploaders/avatar_uploader.rb
@@ -19,7 +19,7 @@ class AvatarUploader < GitlabUploader
end
def absolute_path
- self.class.absolute_path(model.avatar)
+ self.class.absolute_path(model.avatar.upload)
end
private