Draft session management Prefill get
This commit is contained in:
parent
a9f342d09e
commit
d7592afdd1
2 changed files with 25 additions and 5 deletions
|
@ -143,6 +143,9 @@ module Users
|
|||
end
|
||||
|
||||
def brouillon
|
||||
session.delete(:prefill_token)
|
||||
session.delete(:prefill_token_expires_at)
|
||||
session.delete(:prefill_params)
|
||||
@dossier = dossier_with_champs
|
||||
@dossier.valid?(context: :prefilling)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue