gitlab-org--gitlab-foss/lib/backup/uploads.rb
2015-11-02 15:04:43 -05:00

14 lines
223 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