Class: Renalware::Virology::DashboardsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/virology/dashboards_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#showObject



8
9
10
11
# File 'app/controllers/renalware/virology/dashboards_controller.rb', line 8

def show
  authorize [:renalware, :virology, :dashboard], :show?
  render locals: { dashboard: DashboardPresenter.new(patient) }
end