From 374623eb60d44889550021b115d67713a3ade772 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 13 Mar 2023 12:03:05 +0100 Subject: [PATCH] typo --- .../admin/communication/extranets/contacts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/communication/extranets/contacts_controller.rb b/app/controllers/admin/communication/extranets/contacts_controller.rb index 9e4ac7565..53b19b0f6 100644 --- a/app/controllers/admin/communication/extranets/contacts_controller.rb +++ b/app/controllers/admin/communication/extranets/contacts_controller.rb @@ -8,7 +8,7 @@ class Admin::Communication::Extranets::ContactsController < Admin::Communication @organizations = @organizations.page params[:organizations_page] } format.xlsx { - # could be 2 differents controllers in Contacts/People & Contacts#Organizations, each with an index export + # could be 2 differents controllers in Contacts/People & Contacts/Organizations, each with an index export @export = params['export'] filename = "#{@export}-#{Time.now.strftime("%Y%m%d%H%M%S")}.xlsx" response.headers['Content-Disposition'] = "attachment; filename=#{filename}" -- GitLab