Sha256: 95b872beb7c099c10c561de807046cec3980890935388fb99922102fccb6c58d

Contents?: true

Size: 409 Bytes

Versions: 138

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/renal"

module Renalware
  module Virology
    class BaseController < Renalware::BaseController
      protected

      # rubocop:disable Naming/MemoizedInstanceVariableName
      def patient
        @virology_patient ||= Renalware::Virology.cast_patient(super)
      end
      # rubocop:enable Naming/MemoizedInstanceVariableName
    end
  end
end

Version data entries

138 entries across 138 versions & 1 rubygems

Version Path
renalware-core-2.0.84 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.83 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.82 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.81 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.80 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.79 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.78 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.77 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.76 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.75 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.74 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.73 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.72 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.71 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.70 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.69 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.68 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.67 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.64 app/controllers/renalware/virology/base_controller.rb
renalware-core-2.0.63 app/controllers/renalware/virology/base_controller.rb