Sha256: f8866a408f3296f1de5f081a9e58aecbb2294057050afec837574e0b11a75496

Contents?: true

Size: 334 Bytes

Versions: 142

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/transplants/base_controller"

module Renalware
  module Transplants
    class RecipientDashboardsController < BaseController
      def show
        authorize patient
        render locals: { dashboard: RecipientDashboardPresenter.new(patient) }
      end
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.62 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.61 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.60 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.58 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.57 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.56 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.55 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.54 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.53 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.52 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.51 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.50 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.48 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.47 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.46 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.45 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.44 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.43 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.42 app/controllers/renalware/transplants/recipient_dashboards_controller.rb
renalware-core-2.0.41 app/controllers/renalware/transplants/recipient_dashboards_controller.rb