Class: Renalware::Patients::AbridgementsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/patients/abridgements_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#indexObject



8
9
10
11
12
13
14
15
# File 'app/controllers/renalware/patients/abridgements_controller.rb', line 8

def index
  authorize Abridgement, :index?
  render locals: {
    form: AbridgementSearchForm.new,
    results: abridgements_matching_search_criteria,
    results_matching_dob: abridgements_matching_dobs
  }
end