From 414939c97ce8a14e78d88db06f7378e98bea42a3 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Wed, 11 Jul 2018 12:02:01 +0200 Subject: fix uploads restorer --- lib/gitlab/import_export/uploads_restorer.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1