demarches-normaliennes/app/controllers
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
..
admin Remove carrierwave uploaders 2019-09-10 10:49:12 +02:00
administrateurs Remove credenticals synchronisation logic 2019-08-16 11:35:19 +02:00
administrations layouts: rename "application" to "application_old" 2019-01-07 12:17:05 +01:00
api/v1 Add order param to API 2019-06-20 15:28:16 +02:00
champs Cleanup application_controller and current_user 2019-09-17 12:37:37 +02:00
concerns Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
devise sign_in: extract the procedure context to a ProcedureContextConcern 2019-01-17 11:07:09 +01:00
france_connect Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
instructeurs Remove Gestionnaire.visible_procedures 2019-09-17 16:30:48 +02:00
manager [fix #4311] Unable to reinvite admin 2019-09-17 16:15:04 +02:00
new_administrateur Fix service controller 2019-09-17 12:37:37 +02:00
users Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
address_controller.rb AddressController#get → #suggestions 2018-10-16 09:38:53 +02:00
admin_controller.rb layouts: rename "application" to "application_old" 2019-01-07 12:17:05 +01:00
api_controller.rb Enable flipflop on api requests 2019-03-12 14:02:55 +01:00
application_controller.rb Cleanup application_controller and current_user 2019-09-17 12:37:37 +02:00
attachments_controller.rb Refactor purge pj to be more generic 2019-05-29 15:54:51 +02:00
demandes_controller.rb layouts: rename "application" to "application_old" 2019-01-07 12:17:05 +01:00
invites_controller.rb [fixe #3974] add message for invite mail 2019-07-23 18:54:58 +02:00
ping_controller.rb Add back content_type 2018-02-06 14:07:20 +01:00
root_controller.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
stats_controller.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
support_controller.rb Cleanup application_controller and current_user 2019-09-17 12:37:37 +02:00
webhook_controller.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00