Class: Renalware::Surveys::DashboardsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Renalware::Surveys::DashboardsController
- Defined in:
- app/controllers/renalware/surveys/dashboards_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/controllers/renalware/surveys/dashboards_controller.rb', line 8 def show Survey, :index? render locals: { patient: patient, eq5d_responses: EQ5DPivotedResponse.where(patient: patient).ordered, pos_s_responses: POSSPivotedResponse.where(patient: patient).ordered } end |