fix(prefill): it should be possible to prefill a dossier on a test procedure
This commit is contained in:
parent
54968daf17
commit
b3aeb46c1b
23 changed files with 51 additions and 136 deletions
|
@ -28,11 +28,7 @@ class ProcedureSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def link
|
||||
if object.brouillon?
|
||||
commencer_test_url(path: object.path)
|
||||
else
|
||||
commencer_url(path: object.path)
|
||||
end
|
||||
commencer_url(path: object.path)
|
||||
end
|
||||
|
||||
def state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue