Permalink
Browse files

updated date reference

  • Loading branch information...
1 parent 7c4e0b6 commit b1bcc5a2b6edf169ea1e7e97e71f5e9834161876 weshays committed May 25, 2012
Showing with 3 additions and 5 deletions.
  1. +1 −3 helpers/time_helper.rb
  2. +1 −1 vendor/plaza-ruby
  3. +1 −1 views/_posted_by.haml
@@ -17,7 +17,7 @@ def distance_of_time_in_words(minutes)
num = 1
minutes = minutes.abs
- words = case
+ case
when minutes < 1
'less than a minute'
when minutes < 2
@@ -43,8 +43,6 @@ def distance_of_time_in_words(minutes)
num = (minutes / 483840).round
"#{num} year" + add_s?(num)
end
-
- words
end
@@ -11,5 +11,5 @@
= time_ago_in_words(item.starting_at)
- else
recent activity
- = time_ago_in_words(item.created_at)
+ = time_ago_in_words(item.updated_at)
/ | 397 views

0 comments on commit b1bcc5a

Please sign in to comment.