Skip to content

Commit 52efcc5

Browse files
committed
Simpler logic for first_name vs email in activity history
1 parent 5886f62 commit 52efcc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/templates/message.jst.eco

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<div class="readable">
55
<span class="user">
6-
<%= @activity.user.first_name != null ? @activity.user.first_name : @activity.user.email %>
6+
<%= @activity.user.first_name || @activity.user.email %>
77
</span>
88

99
<span class="content">

0 commit comments

Comments
 (0)