summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-08-29 15:41:56 +0200
committerJames Lopez <james@jameslopez.es>2018-09-06 16:52:42 +0200
commita2aa505805478540b3150b2f9093c8658e18597d (patch)
tree7f080afe99e546f743e14c8efa5c6a30c2527554 /app/uploaders
parenta2ea32dd44cc4a104e404325c73a77151913a946 (diff)
downloadgitlab-ce-a2aa505805478540b3150b2f9093c8658e18597d.tar.gz
Refactor code to remove object storage flag from Import/Export
Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/avatar_uploader.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb
index b29ef57b071..8526bc16390 100644
--- a/app/uploaders/avatar_uploader.rb
+++ b/app/uploaders/avatar_uploader.rb
@@ -18,6 +18,10 @@ class AvatarUploader < GitlabUploader
false
end
+ def absolute_path
+ self.class.absolute_path(model.avatar)
+ end
+
private
def dynamic_segment