Read from path attribute instead of procedure_path when possible
This commit is contained in:
parent
2787f040af
commit
b772256a97
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
module ProcedureHelper
|
||||
def procedure_lien(procedure)
|
||||
if procedure.procedure_path.present?
|
||||
if procedure.path.present?
|
||||
if procedure.brouillon_avec_lien?
|
||||
commencer_test_url(procedure_path: procedure.path)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue