Commit 68616987 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix LfsUploader

parent daa1c701
...@@ -7,12 +7,12 @@ class LfsObjectUploader < ObjectStoreUploader ...@@ -7,12 +7,12 @@ class LfsObjectUploader < ObjectStoreUploader
end end
def filename def filename
subject.oid[4..-1] model.oid[4..-1]
end end
private private
def default_path def default_path
"#{subject.oid[0, 2]}/#{subject.oid[2, 2]}" "#{model.oid[0, 2]}/#{model.oid[2, 2]}"
end 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