demarches-normaliennes/spec/controllers
Pierre de La Morinerie b748e9773f attachments: fix opening the delete link directly
When cliking on the "Delete attachment" link, and opening the URL
in a new tab, the `DELETE /attachements/:id` will become
`GET /attachments/:id` – which will cause the `show` action to be
routed with an html format (instead of JS).

In that case, we don't want to throw an error at the user face.
Instead simply re-render the dossier page (if any).

Fix a long-standing error in Sentry.
2020-04-08 13:40:32 +02:00
..
admin Démarches discarded by administrateur can be reactivated in manager 2020-03-31 17:08:28 +02:00
administrateur Fix manager invite administrateur 2019-08-14 16:34:50 +02:00
administrations specs: always require rails_helper 2020-03-31 12:48:32 +02:00
api specs: always require rails_helper 2020-03-31 12:48:32 +02:00
champs dossiers: allow auto upload of attachments 2020-03-31 13:09:44 +02:00
concerns specs: always require rails_helper 2020-03-31 12:48:32 +02:00
devise specs: always require rails_helper 2020-03-31 12:48:32 +02:00
france_connect Use time.zone functions instead of server time functions 2019-11-26 14:26:36 +01:00
instructeurs Remove brouillons deleted dossiers 2020-03-31 16:54:33 +02:00
manager Undo discard dossiers and demarches from manager 2020-03-31 17:08:28 +02:00
new_administrateur Reassign discarded dossiers on group_instructeur 2020-04-01 18:10:12 +02:00
users specs: always require rails_helper 2020-03-31 12:48:32 +02:00
api_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
application_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
attachments_controller_spec.rb attachments: fix opening the delete link directly 2020-04-08 13:40:32 +02:00
invites_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
ping_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
root_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
stats_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
support_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
webhook_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00