diff options
Diffstat (limited to 'app/uploaders/gitlab_uploader.rb')
-rw-r--r-- | app/uploaders/gitlab_uploader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/uploaders/gitlab_uploader.rb b/app/uploaders/gitlab_uploader.rb index 3025a0b4ef6..b12829efe73 100644 --- a/app/uploaders/gitlab_uploader.rb +++ b/app/uploaders/gitlab_uploader.rb @@ -35,12 +35,12 @@ class GitlabUploader < CarrierWave::Uploader::Base # Reduce disk IO def move_to_cache - super.nil? ? true : super + file_storage? end # Reduce disk IO def move_to_store - super.nil? ? true : super + file_storage? end def exists? |