We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bb572 commit ada364cCopy full SHA for ada364c
config/initializers/paperclip_string.rb
@@ -6,7 +6,7 @@
6
7
Paperclip::Attachment.default_options[:storage] = :fog
8
Paperclip::Attachment.default_options[:fog_directory] = ENV["GOOGLE_STORAGE_BUCKET_NAME"] || ''
9
-Paperclip::Attachment.default_options[:path] = ":rails_root/public/system/:attachment/:id/:style/:filename"
+Paperclip::Attachment.default_options[:path] = ":rails_root/public/system/public/system/:class/:attachment/:id_partition/:style/:filename"
10
Paperclip::Attachment.default_options[:fog_credentials] = {
11
provider: ENV["FOG_PROVIDER"] || "Local",
12
local_root: "#{Rails.root}/public",
0 commit comments