Class: Tubes::TubesExportsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tubes::TubesExportsController
- Defined in:
- app/controllers/tubes/tubes_exports_controller.rb
Overview
The exports controller handles the generation of exported files for tubes, such as CSV files for mbrave files.
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'app/controllers/tubes/tubes_exports_controller.rb', line 12 def show @page = params.fetch(:page, 0).to_i @workflow = export.workflow set_filename if export.filename render export.csv end |