summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/uploads_saver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/uploads_saver.rb')
-rw-r--r--lib/gitlab/import_export/uploads_saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/uploads_saver.rb b/lib/gitlab/import_export/uploads_saver.rb
index 3420d2ea4cb..7bce4ddd4e5 100644
--- a/lib/gitlab/import_export/uploads_saver.rb
+++ b/lib/gitlab/import_export/uploads_saver.rb
@@ -28,7 +28,7 @@ module Gitlab
end
def uploads_path
- File.join(Rails.root.join('public/uploads'), project.path_with_namespace)
+ File.join(Rails.root.join('public/uploads'), @project.path_with_namespace)
end
end
end