Sha256: 18a6144180c148d9250911c88ac887efd8047b65df6dcb803803ba45805871b7

Contents?: true

Size: 375 Bytes

Versions: 30

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/hd"

module Renalware
  module HD
    class BaseController < Renalware::BaseController
      private

      def load_patient
        super
        @patient = Renalware::HD.cast_patient(patient)
      end

      def hd_patient
        @hd_patient ||= Renalware::HD.cast_patient(patient)
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.146 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.145 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.144 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.143 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.142 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.141 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.140 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.139 app/controllers/renalware/hd/base_controller.rb
renalware-core-2.0.138 app/controllers/renalware/hd/base_controller.rb