Class: Renalware::HD::MDMPatientsController
- Inherits:
-
MDMPatientsController
- Object
- ApplicationController
- ApplicationController
- BaseController
- MDMPatientsController
- Renalware::HD::MDMPatientsController
- Defined in:
- app/controllers/renalware/hd/mdm_patients_controller.rb
Instance Method Summary collapse
Methods included from PresenterHelper
Methods inherited from BaseController
Instance Method Details
#index ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/controllers/renalware/hd/mdm_patients_controller.rb', line 8 def index filter_form = form_object_class.new(filter_form_params) query = HD::MDMPatientsQuery.new( params: filter_form.ransacked_parameters.merge(query_params).with_indifferent_access ) render_index(filter_form: filter_form, query: query, page_title: t(".page_title"), view_proc: ->(patient) { patient_hd_mdm_path(patient) }, patient_presenter_class: HD::PatientPresenter) end |