2015-11-02 15:04:43 -05:00
|
|
|
require 'backup/files'
|
|
|
|
|
2013-04-10 08:41:47 -04:00
|
|
|
module Backup
|
2015-10-06 08:43:19 -04:00
|
|
|
class Uploads < Files
|
2013-04-10 08:41:47 -04:00
|
|
|
def initialize
|
2015-10-16 11:16:17 -04:00
|
|
|
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
|