new_from_existing : added new route for 'Consulter'

This commit is contained in:
Judith 2020-07-07 16:40:06 +02:00 committed by Pierre de La Morinerie (Rebase PR Action)
parent 192a2e795d
commit 2adb854bf8

View file

@ -54,6 +54,6 @@
%td
= procedure.libelle
%td.flex
= link_to('Consulter', apercu_procedure_path(id: procedure.id), target: "_blank", rel: "noopener", class: 'button small')
= link_to('Consulter', apercu_admin_procedure_path(id: procedure.id), target: "_blank", rel: "noopener", class: 'button small')
= link_to('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'button small primary')
= link_to('Contacter', "mailto:#{procedure.administrateurs.map(&:email) * ","}", class: 'button small')