Class: Renalware::HD::MDMPatientsController

Inherits:
MDMPatientsController show all
Defined in:
app/controllers/renalware/hd/mdm_patients_controller.rb

Instance Method Summary collapse

Methods included from PresenterHelper

#present

Methods inherited from BaseController

#patient

Instance Method Details

#indexObject



8
9
10
11
12
13
14
15
16
# File 'app/controllers/renalware/hd/mdm_patients_controller.rb', line 8

def index
  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