fixed build

This commit is contained in:
danielvincent 2011-02-06 23:42:01 -08:00
parent bf20e5a9e8
commit 01cfeb65b2
3 changed files with 5 additions and 7 deletions

View file

@ -107,11 +107,7 @@ module ApplicationHelper
end
def how_long_ago(obj)
if is_mobile_device?
time_ago_in_words(obj.created_at)
else
timeago(obj.created_at)
end
timeago(obj.created_at)
end
def person_url(person)

View file

@ -16,6 +16,7 @@
%span.from
%b= notification_people_link(note)
= object_link(note)
.time= timeago(note.updated_at)
.time
= time_ago_in_words(obj.created_at)
= will_paginate @notifications

View file

@ -4,7 +4,8 @@
.stream_element{:data=>{:guid=>post.id}}
.right
%span.time= how_long_ago(post)
%span.time
= time_ago_in_words(obj.created_at)
= person_image_link(post.person, :size => :thumb_small)