diff --git a/app/controllers/admin/asks_controller.rb b/app/controllers/admin/asks_controller.rb index 8c7c903..2d70105 100644 --- a/app/controllers/admin/asks_controller.rb +++ b/app/controllers/admin/asks_controller.rb @@ -460,7 +460,7 @@ class Admin::AsksController < OrbitAdminController end ask_category_settings[nil] = ask_default_setting fields_with_key_group[nil] = get_fields_with_key(ask_default_setting) - situations = AskTicketStatus.all.collect{|situation| [situation.key, situation.get_title_translations]} + situations = AskTicketStatus.all.collect{|situation| [situation.key, situation.get_title_translations]}.to_h render xlsx: 'do_export.xlsx', handlers: ['axlsx'], filename: "Questions-#{date_start}-#{date_end}.xlsx",