Sha256: 65b3fe90016a747d6cac551223887e5e186577bcc1b651ab37cd333109276c58

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require_dependency "renalware/problems"

module Renalware
  module Problems
    class SummaryPart < Renalware::SummaryPart
      def current_problems
        @current_problems ||= patient.problems.current.ordered
      end

      # def cache_key
      #   current_problems.maximum(:updated_at)
      # end

      def to_partial_path
        "renalware/problems/problems/summary_part"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc10 app/presenters/renalware/problems/summary_part.rb