Rename :procedure_path -> :path
This commit is contained in:
parent
f1fd1b38ec
commit
725e88a89a
13 changed files with 31 additions and 31 deletions
|
@ -21,9 +21,9 @@ class ProcedureSerializer < ActiveModel::Serializer
|
|||
def link
|
||||
if object.path.present?
|
||||
if object.brouillon_avec_lien?
|
||||
commencer_test_url(procedure_path: object.path)
|
||||
commencer_test_url(path: object.path)
|
||||
else
|
||||
commencer_url(procedure_path: object.path)
|
||||
commencer_url(path: object.path)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue