Merge pull request #7043 from betagouv/main

2022-03-15-02
This commit is contained in:
LeSim 2022-03-15 11:02:13 +01:00 committed by GitHub
commit defc9bab41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ class Champ < ApplicationRecord
end
def sections
@sections ||= dossier.sections_for(self)
@sections ||= dossier&.sections_for(self)
end
def mandatory_and_blank?