refactor(dossier): remove old section code

This commit is contained in:
Paul Chavard 2023-11-28 16:29:32 +00:00
parent 02591da16b
commit f7758d0033
3 changed files with 4 additions and 12 deletions

View file

@ -99,10 +99,6 @@ class Champ < ApplicationRecord
[row_id, stable_id].compact
end
def sections
@sections ||= dossier.sections_for(self)
end
# used for the `required` html attribute
# check visibility to avoid hidden required input
# which prevent the form from being sent.