app/controllers/cm_admin/exports_controller.rb in cm-admin-3.0.13 vs app/controllers/cm_admin/exports_controller.rb in cm-admin-3.0.14

- old
+ new

@@ -4,13 +4,11 @@ require 'cm_admin/model' require 'cm_admin/view_helpers' module CmAdmin class ExportsController < ApplicationController - def export file_path = CmAdmin::Models::Export.generate_excel(params[:class_name], params, helpers) send_file file_path, disposition: 'attachment' end - end end