Commit 816dfcb1 authored by James Lopez's avatar James Lopez

fix path

parent 30f4dcd4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment