diff options
author | Dominic Renner <rennerdo30@gmail.com> | 2019-03-18 17:26:18 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-03-18 17:26:18 +0000 |
commit | ad29681cab4939c1cc9dc14c98b566f66328b1dc (patch) | |
tree | 719c7b4cb6dcc2eae5e05ef9b1e1b25404b580a0 /lib | |
parent | 2ff1324178430f806587f954e35b476d6b7fdf25 (diff) | |
download | gitlab-ce-ad29681cab4939c1cc9dc14c98b566f66328b1dc.tar.gz |
Replaced config access
Replaced Settings with Gitlab.config for uniformity
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backup/uploads.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/uploads.rb b/lib/backup/uploads.rb index 9577df2634a..5a20b6ae0a6 100644 --- a/lib/backup/uploads.rb +++ b/lib/backup/uploads.rb @@ -9,7 +9,7 @@ module Backup def initialize(progress) @progress = progress - super('uploads', Rails.root.join('public/uploads')) + super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads")) end end end |