Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-07-11 13:02:01 +0300
committerJames Lopez <james@jameslopez.es>2018-07-11 13:02:01 +0300
commit414939c97ce8a14e78d88db06f7378e98bea42a3 (patch)
treeb0fa1ad3b57b4a07d8108ec9640ae2578d8b08e0 /lib/gitlab/import_export
parent3a114c2d119a9d0a7a8a9c85a6c7ec405f3a0f12 (diff)
fix uploads restorer
Diffstat (limited to 'lib/gitlab/import_export')
-rw-r--r--lib/gitlab/import_export/uploads_restorer.rb4
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