Class: Krikri::FieldValueReportsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Krikri::FieldValueReportsController
- Defined in:
- app/controllers/krikri/field_value_reports_controller.rb
Overview
Handles HTTP requests for Field Value Reports
Instance Method Summary collapse
-
#show ⇒ Object
Renders the show view for the field value report, given by a compound key.
Instance Method Details
#show ⇒ Object
Renders the show view for the field value report, given by a compound key. The compound key is comprised by the field value report’s field (represented by the route’s id param) and the provider’s id.
12 13 14 15 16 17 18 19 |
# File 'app/controllers/krikri/field_value_reports_controller.rb', line 12 def show @field_value_report = Krikri::FieldValueReport.find(params[:id], params[:provider_id]) respond_to do |format| format.csv end end |