demarches-normaliennes/app/controllers/users
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
..
activate_controller.rb ActivateController: add tests and clean a bit 2019-08-16 11:22:36 +02:00
commencer_controller.rb feat(demarche): sign up when prefilling a dossier (#8247) 2022-12-15 10:58:17 +01:00
confirmations_controller.rb mailers: add procedure context to the confirmation link 2020-02-25 11:45:36 +00:00
demarches_controller.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
dossiers_controller.rb feat(demarche): sign up when prefilling a dossier (#8247) 2022-12-15 10:58:17 +01:00
passwords_controller.rb devise: use password_complexity in User::PasswordsController 2021-09-09 09:40:39 -05:00
profil_controller.rb feat(api_token): add profile api token card 2022-12-07 18:19:37 +01:00
registrations_controller.rb mailers: add procedure context to the confirmation link 2020-02-25 11:45:36 +00:00
sessions_controller.rb avoid phishing 2021-12-15 13:51:49 +01:00
statistiques_controller.rb a user can now see stats for closed procedure 2021-07-07 15:00:38 +02:00
transfers_controller.rb chore(dossier_transfer): notice after transfer invitation sent 2022-11-25 13:34:12 +01:00
user_controller.rb app: rename new_user to users 2019-03-25 10:56:39 +01:00