Sha256: bef189ed8522c287908d48a9db6c192b85f1dd27967b437950f59b1aa784c6c3
Contents?: true
Size: 400 Bytes
Versions: 14
Compression:
Stored size: 400 Bytes
Contents
require_dependency "renalware/patients" require_dependency "renalware/api" module Renalware module API module V1 module Patients class PatientsController < TokenAuthenticatedApiController def show patient = Patient.find_by!(local_patient_id: params[:id]) render locals: { patient: patient } end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems