gitlab-org--gitlab-foss/lib/backup/uploads.rb

15 lines
223 B
Ruby
Raw Normal View History

2015-11-02 15:04:43 -05:00
require 'backup/files'
2013-04-10 08:41:47 -04:00
module Backup
class Uploads < Files
2013-04-10 08:41:47 -04:00
def initialize
super('uploads', Rails.root.join('public/uploads'))
end
def create_files_dir
Dir.mkdir(app_files_dir)
2013-04-10 08:41:47 -04:00
end
end
end