summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-11-15 21:02:30 +0100
committerjomo <github@jomo.tv>2014-11-15 21:02:30 +0100
commitd2efe44de56ef7eb93846619720cca73b9280283 (patch)
treebb0cbc3ddb11f4303b4f15e20862e04cae677158 /app/views/users/show.html.erb
parent110bc2a248fe9cf0cbda737e8b9075090a80c0c2 (diff)
rename time helper to ago
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 0c43b18..c426c33 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -67,7 +67,7 @@
<% end %>
<tr>
<td><b>Joined</b></td>
- <td><%= time @user.created_at %></td>
+ <td><%= ago @user.created_at %></td>
</tr>
<% if mod? || @user.is?(current_user) %>
<tr>
@@ -82,7 +82,7 @@
<td><b>Last seen</b></td>
<td>
<% if @user.last_seen %>
- <%= time @user.last_seen %>
+ <%= ago @user.last_seen %>
<% else %>
Never
<% end %>