Skip to content
Snippets Groups Projects
Commit 374623eb authored by pabois's avatar pabois
Browse files

typo

parent 7fb7817b
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment