diff options
author | jomo <github@jomo.tv> | 2014-11-15 21:02:30 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-11-15 21:02:30 +0100 |
commit | d2efe44de56ef7eb93846619720cca73b9280283 (patch) | |
tree | bb0cbc3ddb11f4303b4f15e20862e04cae677158 /app/views/users/show.html.erb | |
parent | 110bc2a248fe9cf0cbda737e8b9075090a80c0c2 (diff) |
rename time helper to ago
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r-- | app/views/users/show.html.erb | 4 |
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 %> |