Rename :procedure_path -> :path

This commit is contained in:
Paul Chavard 2018-10-30 12:00:58 +01:00
parent f1fd1b38ec
commit 725e88a89a
13 changed files with 31 additions and 31 deletions

View file

@ -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