app/controllers/cm_admin/exports_controller.rb in cm-admin-0.3.0 vs app/controllers/cm_admin/exports_controller.rb in cm-admin-0.4.0

- 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]) + file_path = CmAdmin::Models::Export.generate_excel(params[:class_name], params[:columns], helpers) send_file file_path, disposition: 'attachment' end end end