Sha256: 2e23952c97e64f0a15f938da55413d639aee459e2d164c1009e458f247e67599
Contents?: true
Size: 476 Bytes
Versions: 25
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true module Renalware module Patients class BookmarksComponent < ApplicationComponent attr_reader :current_user def initialize(current_user:) @current_user = current_user end def bookmarks @bookmarks ||= begin Patients.cast_user(current_user) .bookmarks .ordered .includes(patient: [current_modality: :description]) end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems