Class: ActionController::Responder

Inherits:
Object
  • Object
show all
Defined in:
lib/axlsx_rails/action_controller.rb

Overview

For respond_to default

Instance Method Summary collapse

Instance Method Details

#to_xlsxObject



26
27
28
# File 'lib/axlsx_rails/action_controller.rb', line 26

def to_xlsx
  controller.render :xlsx => controller.action_name
end