summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-08-07 19:43:11 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-08-11 18:15:02 +0200
commit180de2d20127f79773bf661f88cd7556b191d0b9 (patch)
treee1cc4564b15b722a5fffd698d053ee3281c5e3e6 /app
parentb8ae15397f0f21b87ea2f91efb470e7e51ba8964 (diff)
downloadgitlab-ce-180de2d20127f79773bf661f88cd7556b191d0b9.tar.gz
Make sure uploads for personal snippets are correctly rendered
Diffstat (limited to 'app')
-rw-r--r--app/uploaders/personal_file_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/personal_file_uploader.rb b/app/uploaders/personal_file_uploader.rb
index ef70871624b..3298ad104ec 100644
--- a/app/uploaders/personal_file_uploader.rb
+++ b/app/uploaders/personal_file_uploader.rb
@@ -4,7 +4,7 @@ class PersonalFileUploader < FileUploader
end
def self.base_dir
- File.join(root_dir, 'system')
+ File.join(root_dir, '-', 'system')
end
private