Class: Renalware::PD::MDMPatientsController
- Inherits:
-
MDMPatientsController
- Object
- ApplicationController
- ApplicationController
- BaseController
- MDMPatientsController
- Renalware::PD::MDMPatientsController
- Defined in:
- app/controllers/renalware/pd/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 |
# File 'app/controllers/renalware/pd/mdm_patients_controller.rb', line 8 def index render_index(query: query, page_title: t(".page_title"), view_proc: ->(patient) { patient_pd_mdm_path(patient) }) end |
#named_filter ⇒ Object
18 19 20 |
# File 'app/controllers/renalware/pd/mdm_patients_controller.rb', line 18 def named_filter params[:named_filter] end |
#query ⇒ Object
14 15 16 |
# File 'app/controllers/renalware/pd/mdm_patients_controller.rb', line 14 def query @query ||= MDMPatientsQuery.new(q: params[:q], named_filter: named_filter) end |