Skip to content

Commit a35395f

Browse files
committed
add aws version
1 parent f22b6e4 commit a35395f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config/initializers/paperclip.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
path: ":rails_root/public/system/:tenant/:class/:attachment_name/:id_partition/:style/:filename"
66
});
77

8+
Aws::VERSION = Gem.loaded_specs["aws-sdk"].version
9+
810
Paperclip.interpolates :tenant do |attachment, style|
911
Apartment::Tenant.current
1012
end

0 commit comments

Comments
 (0)