Fix local representation of production path for source files
This commit is contained in:
@@ -255,7 +255,7 @@ module Dunlop::TargetFileModel
|
|||||||
s3_protocol: :https
|
s3_protocol: :https
|
||||||
else
|
else
|
||||||
has_attached_file :original_file,
|
has_attached_file :original_file,
|
||||||
url: '/system/:class/:attachment/:id/:filename',
|
url: '/system/:class/:id/:filename',
|
||||||
hash_secret: 'dunlop-target-files-for-panda'
|
hash_secret: 'dunlop-target-files-for-panda'
|
||||||
end
|
end
|
||||||
do_not_validate_attachment_file_type :original_file
|
do_not_validate_attachment_file_type :original_file
|
||||||
|
|||||||
Reference in New Issue
Block a user