Class: Renalware::PD::MDMPatientsController

Inherits:
MDMPatientsController show all
Defined in:
app/controllers/renalware/pd/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
# File 'app/controllers/renalware/pd/mdm_patients_controller.rb', line 8

def index
  render_index(query: MDMPatientsQuery.new(q: params[:q]),
               page_title: t(".page_title"),
               view_proc: ->(patient) { patient_pd_mdm_path(patient) })
end