Class: Abrasf::Desif::TaxCodesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Abrasf::Desif::TaxCodesController
- Defined in:
- app/controllers/abrasf/desif/tax_codes_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /desif/tax_codes.
Instance Method Details
#index ⇒ Object
GET /desif/tax_codes
9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/abrasf/desif/tax_codes_controller.rb', line 9 def index respond_to do |format| format.html format.csv do filename = "attachment; filename=\"#{t '.filename'}\"" headers['Content-Disposition'] = filename end end end |