summaryrefslogtreecommitdiff
path: root/lib/backup/uploads.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/uploads.rb')
-rw-r--r--lib/backup/uploads.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backup/uploads.rb b/lib/backup/uploads.rb
index d46e2cd869d..49b117a7ee3 100644
--- a/lib/backup/uploads.rb
+++ b/lib/backup/uploads.rb
@@ -2,7 +2,11 @@ require 'backup/files'
module Backup
class Uploads < Files
- def initialize
+ attr_reader :progress
+
+ def initialize(progress)
+ @progress = progress
+
super('uploads', Rails.root.join('public/uploads'))
end
end