Improuve export UI
This commit is contained in:
parent
a88f780252
commit
651a928b7c
4 changed files with 26 additions and 6 deletions
|
@ -169,6 +169,11 @@ module Instructeurs
|
|||
|
||||
export = Export.find_or_create_export(export_format, groupe_instructeurs)
|
||||
|
||||
if export.ready? && export.old? && params[:force_export]
|
||||
export.destroy
|
||||
export = Export.find_or_create_export(export_format, groupe_instructeurs)
|
||||
end
|
||||
|
||||
if export.ready?
|
||||
respond_to do |format|
|
||||
format.js do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue