debian-mirror-gitlab/lib/backup/uploads.rb
2015-11-26 14:37:03 +05:30

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