We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5886f62 commit 52efcc5Copy full SHA for 52efcc5
app/assets/templates/message.jst.eco
@@ -3,7 +3,7 @@
3
4
<div class="readable">
5
<span class="user">
6
- <%= @activity.user.first_name != null ? @activity.user.first_name : @activity.user.email %>
+ <%= @activity.user.first_name || @activity.user.email %>
7
</span>
8
9
<span class="content">
0 commit comments