From 90838d32af33b18822ed54fd7d5a5ef60f8a78a1 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 21 Jan 2020 10:00:55 -0500 Subject: [PATCH] Fix local representation of production path for source files --- app/models/dunlop/source_file_model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/dunlop/source_file_model.rb b/app/models/dunlop/source_file_model.rb index f3f1075..83b16c5 100644 --- a/app/models/dunlop/source_file_model.rb +++ b/app/models/dunlop/source_file_model.rb @@ -279,7 +279,7 @@ module Dunlop::SourceFileModel end else has_attached_file :original_file, - url: '/system/:class/:attachment/:id/:filename', + url: '/system/:class/:id/:filename', hash_secret: 'dunlop-source-files-for-panda' end do_not_validate_attachment_file_type :original_file