Sha256: e4c1778692a6cdccd462c4d4fe82052cbc87622c5a7cea84a8e8b78c969a699c
Contents?: true
Size: 569 Bytes
Versions: 14
Compression:
Stored size: 569 Bytes
Contents
require_dependency "renalware/transplants/base_controller" module Renalware module Transplants class DonorDashboardsController < BaseController before_action :load_patient def show render locals: { patient: patient, donations: Donation.for_patient(patient).reversed, donor_workup: DonorWorkup.for_patient(patient).first_or_initialize, donor_operations: DonorOperation.for_patient(patient).reversed, donor_stages: DonorStage.for_patient(patient).ordered } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems