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 16, 2024
1 parent c989738 commit acf3bae
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 acf3bae

Please sign in to comment.