app/controllers/cm_admin/exports_controller.rb in cm-admin-0.6.6 vs app/controllers/cm_admin/exports_controller.rb in cm-admin-0.6.7

- old
+ new

@@ -6,10 +6,10 @@ module CmAdmin class ExportsController < ApplicationController def export - file_path = CmAdmin::Models::Export.generate_excel(params[:class_name], params[:columns], helpers) + file_path = CmAdmin::Models::Export.generate_excel(params[:class_name], params, helpers) send_file file_path, disposition: 'attachment' end end end