Class: Renalware::API::V1::Medications::PrescriptionsController

Inherits:
TokenAuthenticatedApiController show all
Defined in:
app/controllers/renalware/api/v1/medications/prescriptions_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



11
12
13
14
15
16
# File 'app/controllers/renalware/api/v1/medications/prescriptions_controller.rb', line 11

def index
  render locals: {
    patient: patient,
    prescriptions: current_prescriptions_presenter
  }
end