Skip to content

Commit 17f1833

Browse files
committed
Use format_attr when formatting log_entry subject
1 parent d333fcd commit 17f1833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/swb/hitobito_log_entries_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Swb::HitobitoLogEntriesHelper
99
def format_hitobito_log_entry_subject(e)
1010
case e.subject
1111
when Role then link_to(e.subject.person, e.subject.person)
12-
else format_assoc(e, :subject)
12+
else format_attr(e, :subject)
1313
end
1414
end
1515
end

0 commit comments

Comments
 (0)