Revert S3 storage path_for method

This commit is contained in:
aignatov-bio 2021-02-17 14:36:23 +01:00
parent 060d5c1c2e
commit e5270d4c22

View file

@ -18,6 +18,10 @@ module ActiveStorage
end
end
def path_for(key)
subfolder.present? ? File.join(subfolder, key) : key
end
private
def object_for(key)