gitlab-org--gitlab-foss/lib/backup/uploads.rb
2017-02-23 09:32:42 -06:00

13 lines
222 B
Ruby

require 'backup/files'
module Backup
class Uploads < Files
def initialize
super('uploads', Rails.root.join('public/uploads'))
end
def create_files_dir
Dir.mkdir(app_files_dir)
end
end
end