feat(champ): has_one_attached => has_many_attached piece_justificative_file
This commit is contained in:
parent
2cdbcbf0b6
commit
91f4971df2
5 changed files with 11 additions and 11 deletions
|
@ -35,7 +35,7 @@ class DossierPreloader
|
|||
end
|
||||
|
||||
def load_dossiers(dossiers, pj_template: false)
|
||||
to_include = [piece_justificative_file_attachment: :blob]
|
||||
to_include = [piece_justificative_file_attachments: :blob]
|
||||
|
||||
if pj_template
|
||||
to_include << { type_de_champ: { piece_justificative_template_attachment: :blob } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue