We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91aea5d + a35395f commit 874f94aCopy full SHA for 874f94a
1 file changed
config/initializers/paperclip.rb
@@ -5,6 +5,8 @@
5
path: ":rails_root/public/system/:tenant/:class/:attachment_name/:id_partition/:style/:filename"
6
});
7
8
+Aws::VERSION = Gem.loaded_specs["aws-sdk"].version
9
+
10
Paperclip.interpolates :tenant do |attachment, style|
11
Apartment::Tenant.current
12
end
0 commit comments