Skip to content

Commit

Permalink
cleanup(champ): remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
tchak committed Dec 18, 2024
1 parent 659ea76 commit 9a1df54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/editable_champ/editable_champ_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9a1df54

Please sign in to comment.