diff options
author | Jarka Košanová <jarka@gitlab.com> | 2018-09-10 19:03:33 +0200 |
---|---|---|
committer | Jarka Košanová <jarka@gitlab.com> | 2018-09-11 15:45:46 +0200 |
commit | 8440435214257af1b5e9a79e52a0e9b6749b60f2 (patch) | |
tree | 20387c2000dc3fc7d5dfbe380dc74484053e1aa9 /app/uploaders | |
parent | 2054199b47c0b92194f4551ad69e84cb5b9d9edf (diff) | |
download | gitlab-ce-8440435214257af1b5e9a79e52a0e9b6749b60f2.tar.gz |
Fix workhorse temp path for namespace uploads
Diffstat (limited to 'app/uploaders')
-rw-r--r-- | app/uploaders/namespace_file_uploader.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/uploaders/namespace_file_uploader.rb b/app/uploaders/namespace_file_uploader.rb index b0154f85a5c..4965bd7f057 100644 --- a/app/uploaders/namespace_file_uploader.rb +++ b/app/uploaders/namespace_file_uploader.rb @@ -21,6 +21,10 @@ class NamespaceFileUploader < FileUploader File.join(model.id.to_s) end + def self.workhorse_local_upload_path + File.join(options.storage_path, 'uploads', TMP_UPLOAD_PATH) + end + # Re-Override def store_dir store_dirs[object_store] |