summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-07-22 02:37:22 +0200
committerGabriel Mazetto <brodock@gmail.com>2017-08-01 07:28:13 +0200
commitfb06a4d8fe7bb10c2784f323261cfde04718aec9 (patch)
tree071469a903785c72a3b06ec60fc8c6ba7f2c7f9e /app/uploaders
parentc6dee99803da69af967ef6db2ad84b6fed9ea542 (diff)
downloadgitlab-ce-fb06a4d8fe7bb10c2784f323261cfde04718aec9.tar.gz
Rename more path_with_namespace -> full_path or disk_path
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/file_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb
index 652277e3b78..7027ac4b5db 100644
--- a/app/uploaders/file_uploader.rb
+++ b/app/uploaders/file_uploader.rb
@@ -30,7 +30,7 @@ class FileUploader < GitlabUploader
#
# Returns a String without a trailing slash
def self.dynamic_path_segment(model)
- File.join(CarrierWave.root, base_dir, model.path_with_namespace)
+ File.join(CarrierWave.root, base_dir, model.full_path)
end
attr_accessor :model