demarches-normaliennes/app
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
..
assets stylesheets: make the actions bar sticky 2019-09-17 16:58:11 +02:00
controllers Add graphql end point 2019-09-24 10:47:21 +02:00
dashboards Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
fields manager: remove support for old pj 2019-07-30 16:11:17 +02:00
graphql Update graphql schema 2019-09-24 10:47:21 +02:00
helpers Remove “avec_lien” helpers now that Procedure.path cannot be nil 2019-09-17 16:30:48 +02:00
javascript Refactor and redesign publish modal 2019-09-17 16:30:48 +02:00
jobs ! NEED JOB REBOOT Move remind activation logic to user 2019-08-14 16:34:50 +02:00
lib Revert "Upload through proxy" 2019-09-19 09:13:41 +02:00
mailers Remove duplicated attachments 2019-09-17 18:12:53 +02:00
models Refactor Instructeur.notifications_* methods 2019-09-25 14:10:00 +02:00
policies Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
serializers Remove “avec_lien” helpers now that Procedure.path cannot be nil 2019-09-17 16:30:48 +02:00
services Add groupe_instructeur_label to export v1 2019-09-19 12:30:12 +02:00
validators gestion des 2 formats de bouton monavis 2019-09-17 13:39:45 +02:00
views Refactor Instructeur.notifications_* methods 2019-09-25 14:10:00 +02:00