chore(procedure): faster procedure closing
This commit is contained in:
parent
154a993794
commit
d0b8176081
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ class Procedure < ApplicationRecord
|
||||||
close!
|
close!
|
||||||
end
|
end
|
||||||
|
|
||||||
dossiers.visible_by_administration.each do |dossier|
|
dossiers.visible_by_administration.find_each do |dossier|
|
||||||
dossier.hide_and_keep_track!(author, :procedure_removed)
|
dossier.hide_and_keep_track!(author, :procedure_removed)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue