quick fix of sections in preview
This commit is contained in:
parent
79bb26e4dd
commit
44f2d93277
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Champ < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def sections
|
def sections
|
||||||
@sections ||= dossier.sections_for(self)
|
@sections ||= dossier&.sections_for(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
def mandatory_and_blank?
|
def mandatory_and_blank?
|
||||||
|
|
Loading…
Reference in a new issue