BigW Consortium Gitlab

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

3
module Backup
4
  class Uploads < Files
5 6

    def initialize
7 8 9 10 11
      super('uploads', Rails.root.join('public/uploads'))
    end

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