diff options
Diffstat (limited to 'app/uploaders')
-rw-r--r-- | app/uploaders/metric_image_uploader.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/uploaders/metric_image_uploader.rb b/app/uploaders/metric_image_uploader.rb index 0826bb251e4..d7d70518565 100644 --- a/app/uploaders/metric_image_uploader.rb +++ b/app/uploaders/metric_image_uploader.rb @@ -6,6 +6,10 @@ class MetricImageUploader < GitlabUploader # rubocop:disable Gitlab/NamespacedCl prepend ObjectStorage::Extension::RecordsUploads include UploaderHelper + def self.workhorse_local_upload_path + File.join(options.storage_path, 'uploads', TMP_UPLOAD_PATH) + end + private def dynamic_segment |