BigW Consortium Gitlab

uploads.rb 222 Bytes
Newer Older
1 2
require 'backup/files'

3
module Backup
4
  class Uploads < Files
5
    def initialize
6 7 8 9 10
      super('uploads', Rails.root.join('public/uploads'))
    end

    def create_files_dir
      Dir.mkdir(app_files_dir)
11 12 13
    end
  end
end