Sha256: a3fb53060aa3dbbe13103ddf35dfbf79a3659aedd014168e2719e855a18283fc

Contents?: true

Size: 276 Bytes

Versions: 142

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/patients"

module Renalware
  module SideNavHelper
    def find_user_bookmark_for_patient(patient)
      user = Renalware::Patients.cast_user(current_user)
      user.bookmark_for_patient(patient)
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.146 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.145 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.144 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.143 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.142 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.141 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.140 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.139 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.138 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.137 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.136 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.135 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.134 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.133 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.132 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.131 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.130 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.129 app/helpers/renalware/side_nav_helper.rb
renalware-core-2.0.128 app/helpers/renalware/side_nav_helper.rb