feedback review - remove unused class and simplify method

This commit is contained in:
Lisa Durand 2023-11-06 11:22:09 +01:00
parent 1de9130ab5
commit be8303f1c4
2 changed files with 2 additions and 2 deletions

View file

@ -316,7 +316,7 @@ module Administrateurs
end
def close
@published_procedures = current_administrateur.procedures.publiees.map { |p| ["#{p.libelle} (#{p.id})", p.id] }.to_h
@published_procedures = current_administrateur.procedures.publiees.to_h { |p| ["#{p.libelle} (#{p.id})", p.id] }
end
def allow_expert_review