From 9a1df54d3c0beeb75c81cc7d59518ecf827bc183 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 3 Dec 2024 18:17:09 +0100 Subject: [PATCH] cleanup(champ): remove dead code --- app/components/editable_champ/editable_champ_component.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/editable_champ/editable_champ_component.rb b/app/components/editable_champ/editable_champ_component.rb index 20f0a7fd653..a21faa0b50f 100644 --- a/app/components/editable_champ/editable_champ_component.rb +++ b/app/components/editable_champ/editable_champ_component.rb @@ -56,9 +56,9 @@ def stimulus_values def turbo_poll_url_value if @champ.private? - annotation_instructeur_dossier_path(@champ.dossier.procedure, @champ.dossier, @champ.stable_id, row_id: @champ.row_id, with_public_id: true) + annotation_instructeur_dossier_path(@champ.dossier.procedure, @champ.dossier, @champ.stable_id, row_id: @champ.row_id) else - champ_dossier_path(@champ.dossier, @champ.stable_id, row_id: @champ.row_id, with_public_id: true) + champ_dossier_path(@champ.dossier, @champ.stable_id, row_id: @champ.row_id) end end