diff --git a/app/models/dunlop/target_file_model.rb b/app/models/dunlop/target_file_model.rb index 216b39e..72e831b 100644 --- a/app/models/dunlop/target_file_model.rb +++ b/app/models/dunlop/target_file_model.rb @@ -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