demarches-normaliennes/app/controllers/instructeurs
Pierre de La Morinerie 8eb295d67e dossiers: avoid exceptions on invalid AASM transitions
When attempting an invalid transition on a dossier, provide a meaningful
error message (instead of letting an `AASM::InvalidTransition` exception
propagate).

This handles not only the case where the same state is applied twice
(which was already handled manually), but all cases where the transition
is invalid.
2019-12-19 13:25:32 +01:00
..
avis_controller.rb instructeurs: fix expert creation not to use Instructeur.email 2019-11-04 10:44:24 +01:00
dossiers_controller.rb dossiers: avoid exceptions on invalid AASM transitions 2019-12-19 13:25:32 +01:00
groupe_instructeurs_controller.rb Use a select2 box for looking to instructeurs 2019-11-18 17:08:51 +01:00
instructeur_controller.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
procedures_controller.rb Controller use new export model 2019-12-18 13:13:15 +01:00
recherche_controller.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00