Class: ActionController::Responder
- Inherits:
-
Object
- Object
- ActionController::Responder
- Defined in:
- lib/axlsx_rails/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#to_xlsx ⇒ Object
59 60 61 62 63 64 65 66 |
# File 'lib/axlsx_rails/action_controller.rb', line 59 def to_xlsx @_action_has_layout = false if @default_response @default_response.call() else controller.render({ xlsx: controller.action_name }.merge()) end end |