Class: Noventius::ReportsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Noventius::ReportsController
- Defined in:
- app/controllers/noventius/reports_controller.rb
Constant Summary
Constants included from FilterParams
Instance Method Summary collapse
Methods inherited from ApplicationController
Methods included from FilterParams
Instance Method Details
#index ⇒ Object
10 11 12 |
# File 'app/controllers/noventius/reports_controller.rb', line 10 def index reports end |
#nested ⇒ Object
21 22 23 24 25 |
# File 'app/controllers/noventius/reports_controller.rb', line 21 def nested respond_to do |format| format.html { render layout: false } end end |
#show ⇒ Object
14 15 16 17 18 19 |
# File 'app/controllers/noventius/reports_controller.rb', line 14 def show respond_to do |format| format.html format.csv { render text: @report.to(:csv) } end end |