Skip to content

Commit

Permalink
Add #total_children_count method
Browse files Browse the repository at this point in the history
  • Loading branch information
meg-gutshall authored and benreyn committed Oct 23, 2019
1 parent 6fba3dc commit 85d99cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/family.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ def create_authorized
def guardian_display_name
"#{guardian_first_name} #{guardian_last_name}"
end

def total_children_count
home_child_count + home_young_child_count
end
end

0 comments on commit 85d99cf

Please sign in to comment.