diff options
Diffstat (limited to 'lib/gitlab/import_export/uploads_restorer.rb')
-rw-r--r-- | lib/gitlab/import_export/uploads_restorer.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/uploads_restorer.rb b/lib/gitlab/import_export/uploads_restorer.rb index b7e07fc1226..15714c52c1a 100644 --- a/lib/gitlab/import_export/uploads_restorer.rb +++ b/lib/gitlab/import_export/uploads_restorer.rb @@ -16,6 +16,10 @@ module Gitlab @shared.error(e) false end + + def uploads_path + FileUploader.absolute_base_dir(@project) + end end end end |