Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi committed Nov 4, 2024
1 parent 5f001ff commit 847893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/die_mitte/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module DieMitte::Person
Person::PUBLIC_ATTRS << :title << :website << :correspondence_language <<
:civil_status << :salutation

Person::SEARCHABLE_ATTRS.find { |element| element.is_a?(Hash) }.merge!(role_translations: [:label])
Person::SEARCHABLE_ATTRS.find { |element| element.is_a?(Hash) }[:role_translations] = [:label]

i18n_enum :correspondence_language, Settings.application
.correspondence_languages
Expand Down

0 comments on commit 847893d

Please sign in to comment.