diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-11-21 20:53:18 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-11-21 20:53:18 +0100 |
commit | b9f08c78abb5d6c0103a76c9fba65bb43fa31915 (patch) | |
tree | 5a6d35d04a1f10f37f6b4ef4af2730fd1d7d3362 /app | |
parent | 77a4382712888131813ec008a8d4179bcf753b8b (diff) | |
download | gitlab-ce-b9f08c78abb5d6c0103a76c9fba65bb43fa31915.tar.gz |
Evalute time_ago method instead of printing it
Diffstat (limited to 'app')
-rw-r--r-- | app/views/profiles/chat_names/_chat_name.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/chat_names/_chat_name.html.haml b/app/views/profiles/chat_names/_chat_name.html.haml index 6b32d377e1a..1ec1e7c70e4 100644 --- a/app/views/profiles/chat_names/_chat_name.html.haml +++ b/app/views/profiles/chat_names/_chat_name.html.haml @@ -19,7 +19,7 @@ = chat_name.chat_name %td - if chat_name.last_used_at - time_ago_with_tooltip(chat_name.last_used_at) + = time_ago_with_tooltip(chat_name.last_used_at) - else Never |