Sha256: 2bfe6ce2088ff9acf52765a31d72d5afaf4faa52a078e8c5c710e5af63e34529
Contents?: true
Size: 699 Bytes
Versions: 142
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" module Renalware module Transplants class MDMPatientsController < Renalware::MDMPatientsController def index render_index(query: query, page_title: t(".page_title"), view_proc: ->(patient) { patient_transplants_mdm_path(patient) }, patient_presenter_class: Transplants::MDMPatientPresenter) end private def query @query ||= MDMPatientsQuery.new(q: q, named_filter: named_filter) end def named_filter params[:named_filter] end def q params[:q] end end end end
Version data entries
142 entries across 142 versions & 1 rubygems