Fix local representation of production path for source files

This commit is contained in:
2020-01-21 10:01:28 -05:00
parent 90838d32af
commit 53ec7fa550
+1 -1
View File
@@ -255,7 +255,7 @@ module Dunlop::TargetFileModel
s3_protocol: :https
else
has_attached_file :original_file,
url: '/system/:class/:attachment/:id/:filename',
url: '/system/:class/:id/:filename',
hash_secret: 'dunlop-target-files-for-panda'
end
do_not_validate_attachment_file_type :original_file