demarches-normaliennes/app/views/instructeurs
Nicolas Bouilleaud a4166d3c57 Refactor Instructeur.notifications_* methods
- rename `dossiers_id_with_notifications` to `followed_dossiers_with_notifications`,
- rename `notifications_per_procedure` to `procedures_with_notifications`,
- return an ActiveRecord::Relation instead of the result of the query, so that the call place can compose it,
- `merge` with the wanted Dossier scope in the call places, don’t bother passing it as a parameter,
- use the “state” (now “scope”) parameter as a scope method that can be just applied on `Dossier`.
2019-09-25 14:10:00 +02:00
..
avis Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
dossiers Migrate to flipper 2019-09-10 16:10:14 +02:00
passwords Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
procedures Refactor Instructeur.notifications_* methods 2019-09-25 14:10:00 +02:00
recherche Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
shared Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
_login_banner.html.haml Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00