This commit is contained in:
James Lopez 2016-05-19 13:21:56 +02:00
parent 30f4dcd4c9
commit 816dfcb1c5
1 changed files with 1 additions and 1 deletions

View File

@ -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