feat(exports): turbo poll for pending exports

This commit is contained in:
Colin Darie 2023-09-20 13:03:11 +02:00
parent ed057737a5
commit 3af93735a3
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
4 changed files with 12 additions and 2 deletions

View file

@ -231,6 +231,11 @@ module Instructeurs
value: DateTime.current,
expires: Export::MAX_DUREE_GENERATION + Export::MAX_DUREE_CONSERVATION_EXPORT
}
respond_to do |format|
format.turbo_stream
format.html
end
end
def email_usagers