demarches-normaliennes/app/controllers/concerns
Sébastien Carceles b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier (#8247)
* store prefill params in session

Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.

There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.

* spec: cover the case

* review: serialize with json instead of yaml

* review: rename method

* review: store only query params

* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
..
create_avis_concern.rb fix(instructeurs/avis#revive): ArgumentError on AvisMailer.avis_invitation 2022-06-14 08:41:09 +02:00
devise_populated_resource.rb app: fix exception during password reset when the token has expired 2021-09-21 10:30:09 -05:00
graphql_operation_log_concern.rb fix(graphql): fix and improuve query parsing for logs 2021-11-24 13:23:05 +03:00
procedure_context_concern.rb commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
query_params_store_concern.rb feat(demarche): sign up when prefilling a dossier (#8247) 2022-12-15 10:58:17 +01:00