Class: Renalware::Pathology::ChartsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/pathology/charts_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#showObject

Returns HTML rendered by a view component for pulling into say a modal dialog



9
10
11
12
13
14
15
16
17
18
# File 'app/controllers/renalware/pathology/charts_controller.rb', line 9

def show
  authorize Patient, :show?
  render(
    locals: {
      patient: patient,
      observation_description: ObservationDescription.find(params[:id])
    },
    layout: false
  )
end