whitspace

This commit is contained in:
Sam 2013-05-07 17:32:49 +10:00
parent 68e6405aca
commit a232e77fa8
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ class ListableTopicSerializer < BasicTopicSerializer
def age
AgeWords.age_words(Time.now - (object.created_at || Time.now))
end
def bumped
object.created_at < object.bumped_at
end
def bumped_age
return nil if object.bumped_at.blank?
AgeWords.age_words(Time.now - object.bumped_at)