models: fix typo in comments
This commit is contained in:
parent
79d6ac18f0
commit
fc4d8362dc
1 changed files with 2 additions and 2 deletions
|
@ -360,8 +360,8 @@ module Users
|
|||
|
||||
if champs_params[:dossier]
|
||||
@dossier.assign_attributes(champs_params[:dossier])
|
||||
# FIXME in some cases a removed repetition bloc row is submitted.
|
||||
# In this case it will be trated as a new records and action will fail.
|
||||
# FIXME: in some cases a removed repetition bloc row is submitted.
|
||||
# In this case it will be treated as a new record, and the action will fail.
|
||||
@dossier.champs.filter(&:repetition?).each do |champ|
|
||||
champ.champs = champ.champs.filter(&:persisted?)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue