Class: Renalware::Transplants::RecipientDashboardsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/transplants/recipient_dashboards_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Methods inherited from BaseController

#patient

Instance Method Details

#showObject



8
9
10
11
# File 'app/controllers/renalware/transplants/recipient_dashboards_controller.rb', line 8

def show
  authorize patient
  render locals: { dashboard: RecipientDashboardPresenter.new(patient) }
end