Merge branch 'develop' into staging
This commit is contained in:
commit
61b2017fcb
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
|
||||||
def download_dossiers_tps
|
def download_dossiers_tps
|
||||||
if procedure = Procedure.find_by(id: params[:procedure_id])
|
if procedure = Procedure.find_by(id: params[:procedure_id])
|
||||||
dossiers = dossiers_list_facade(param_liste).dossiers_to_display
|
dossiers = dossiers_list_facade(param_liste).dossiers_to_display
|
||||||
respond_with Dossier.export_full_generation(dossiers, request.format)
|
respond_with Dossier.export_full_generation(dossiers, request.format) if dossiers.empty?
|
||||||
else
|
else
|
||||||
dossiers = dossiers_list_facade(param_liste).dossiers_to_display
|
dossiers = dossiers_list_facade(param_liste).dossiers_to_display
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|
Loading…
Reference in a new issue