fix path
This commit is contained in:
parent
30f4dcd4c9
commit
816dfcb1c5
|
@ -28,7 +28,7 @@ module Gitlab
|
||||||
end
|
end
|
||||||
|
|
||||||
def uploads_path
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue