Skip to content

Commit

Permalink
Extend constant, but do not replace it
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Mar 6, 2024
1 parent a0c0112 commit ce02006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/generic/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Generic::Person
extend ActiveSupport::Concern

included do
Person::PUBLIC_ATTRS += [:title, :correspondence_language, :additional_languages, :advertising]
Person::PUBLIC_ATTRS << :title << :correspondence_language << :additional_languages << :advertising

CORRESPONDENCE_LANGUAGES = %w(de fr it en).freeze
ADVERTISINGS = %w(none by_members by_anyone).freeze
Expand Down

0 comments on commit ce02006

Please sign in to comment.