Sha256: fddf6318164291217c3b6ccadf8c860d981484317fd53a5b7d2e7b8498a18914
Contents?: true
Size: 415 Bytes
Versions: 142
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" module Renalware module Transplants class BaseController < Renalware::BaseController def patient @transplant_patient ||= Renalware::Transplants.cast_patient(super) end private def load_patient super @patient = Renalware::Transplants.cast_patient(@patient) end end end end
Version data entries
142 entries across 142 versions & 1 rubygems