demarches-normaliennes/app/controllers/instructeurs
Nicolas Bouilleaud 8fa630d2bb Remove Gestionnaire.visible_procedures
It is actually the same thing as Gestionnaire.procedures. It already included the procedures with paths as well as the archived procedures, and in production, there were no Gestionnaire for who procedures was returning a different result than visible_procedures (expect for two baddata brouillon procedures with a nil path).

In addition, Procedure.path is now nonnull, which means the Procedure.avec_lien scope is pointless.

Finally, the current spec showed that the only procedure not visible to the gestion was the one he was not assigned to.
2019-09-17 16:30:48 +02:00
..
avis_controller.rb Simply avis controller 2019-08-20 12:20:12 +02:00
dossiers_controller.rb Migrate to flipper 2019-09-10 16:10:14 +02:00
instructeur_controller.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
procedures_controller.rb Remove Gestionnaire.visible_procedures 2019-09-17 16:30:48 +02:00
recherche_controller.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00