Skip to content

Commit

Permalink
rename required_attributes to required_attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi authored Dec 11, 2023
1 parent 43f8f48 commit 1fc85b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/event/participation_contact_datas/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# https://github.com/hitobito/hitobito_youth.

class Event::ParticipationContactDatas::Manager < Event::ParticipationContactData
def required_attributes
@required_attributes ||= self.class.mandatory_contact_attrs.map(&:to_s)
def required_attrs
@required_attrs ||= self.class.mandatory_contact_attrs
end
end

0 comments on commit 1fc85b2

Please sign in to comment.