module Family::Admissions::ApplicantScoped
  extend ActiveSupport::Concern

  def applicants
    current_family.admission_applicants
  end

  def applicant
    @applicant ||= applicants.find_by(id: params[:applicant_id])
  end

  def application
    @application ||= applicant.application
  end
end
