summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-19 13:21:56 +0200
committerJames Lopez <james@jameslopez.es>2016-05-19 13:21:56 +0200
commit816dfcb1c54277ce5e3e3da1a0c1028b4c2cdb3c (patch)
treef7ceb5876f555be57f5d6d1bb22b3561e7904a38
parent30f4dcd4c906a71db98833075c76eb59922f5b98 (diff)
downloadgitlab-ce-816dfcb1c54277ce5e3e3da1a0c1028b4c2cdb3c.tar.gz
fix path
-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