mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Revert S3 storage path_for method
This commit is contained in:
parent
060d5c1c2e
commit
e5270d4c22
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue