refactor(dossier): remove old section code
This commit is contained in:
parent
02591da16b
commit
f7758d0033
3 changed files with 4 additions and 12 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue