From 53ec7fa55017a8e9f90583e9e65e726b200fc2f0 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 21 Jan 2020 10:01:28 -0500 Subject: [PATCH] Fix local representation of production path for source files --- app/models/dunlop/target_file_model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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