Sha256: 351182bdee43804b784432486d8a3011340d2052e9ae40d1b31828e2bfc96816

Contents?: true

Size: 374 Bytes

Versions: 153

Compression:

Stored size: 374 Bytes

Contents

require 'slim'
require 'cm_admin/version'
require 'cm_admin/engine'
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

Version data entries

153 entries across 153 versions & 1 rubygems

Version Path
cm-admin-3.0.13 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.12 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.11 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.10 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.9 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.8 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.7 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.6 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.5 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.4 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.3 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.2 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.1 app/controllers/cm_admin/exports_controller.rb
cm-admin-3.0.0 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.6 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.5 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.4 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.3 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.2 app/controllers/cm_admin/exports_controller.rb
cm-admin-2.4.1 app/controllers/cm_admin/exports_controller.rb