Module: Renalware::ProblemsHelper

Defined in:
app/helpers/renalware/problems_helper.rb

Instance Method Summary collapse

Instance Method Details

#problem_breadcrumb(patient, problem) ⇒ Object



9
10
11
# File 'app/helpers/renalware/problems_helper.rb', line 9

def problem_breadcrumb(patient, problem)
  breadcrumb_for("Problem", patient_problem_path(patient, problem))
end

#problems_breadcrumb(patient) ⇒ Object



5
6
7
# File 'app/helpers/renalware/problems_helper.rb', line 5

def problems_breadcrumb(patient)
  breadcrumb_for("Problems", patient_problems_path(patient))
end