Allow custom path for ActiveStorage local/disk backend

This commit is contained in:
2024-02-08 12:59:37 +01:00
parent 70ac3b0a70
commit 84e915ece9
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
local:
service: Disk
root: <%= Rails.root.join("storage") %>
root: <%= ENV["ACTIVE_STORAGE_PATH"] || Rails.root.join("storage") %>
test:
service: Disk