Sha256: 3538bc1a169012adcc7177d00f9f6aebb3f3cd3de9f1d571c407fdd16f07c014

Contents?: true

Size: 483 Bytes

Versions: 142

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/low_clearance"

module Renalware
  module LowClearance
    class DashboardsController < LowClearance::BaseController
      def show
        authorize patient
        render :show, locals: {
          patient: patient,
          dashboard: dashboard_presenter
        }
      end

      private

      def dashboard_presenter
        DashboardPresenter.new(user: current_user, patient: patient)
      end
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

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