diff options
author | James Lopez <james@jameslopez.es> | 2018-09-10 17:41:51 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-09-10 17:41:51 +0200 |
commit | 78cd19631a5e02d30c22944a201d7074a3653ccf (patch) | |
tree | 0237cf6f459f5d79f81e92fb957a3e7c8f605d9f /app/uploaders | |
parent | fab15563963029c9f067d11d3d43fe3e6fac09a1 (diff) | |
download | gitlab-ce-78cd19631a5e02d30c22944a201d7074a3653ccf.tar.gz |
fix avatar uploader error
Diffstat (limited to 'app/uploaders')
-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 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 |