diff --git a/app/views/comments/_comment.mobile.haml b/app/views/comments/_comment.mobile.haml index 0bfaa7d3a..f67f1a0e0 100644 --- a/app/views/comments/_comment.mobile.haml +++ b/app/views/comments/_comment.mobile.haml @@ -5,7 +5,7 @@ %li.comment{:data=>{:guid=>comment.id}, :class => ("hidden" if(defined? hidden))} .right %span.time - = comment.created_at ? t('ago', :time => time_ago_in_words(comment.created_at)) : time_ago_in_words(Time.now) + = comment.created_at ? time_ago_in_words(comment.created_at) : time_ago_in_words(Time.now) = person_image_link(comment.person) .content diff --git a/app/views/notifications/index.mobile.haml b/app/views/notifications/index.mobile.haml index cdf66db65..18ea33fef 100644 --- a/app/views/notifications/index.mobile.haml +++ b/app/views/notifications/index.mobile.haml @@ -17,6 +17,6 @@ %b= notification_people_link(note) = object_link(note) .time - = time_ago_in_words(obj.created_at) + = time_ago_in_words(note.created_at) = will_paginate @notifications diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index e5ba55e27..00746b0a9 100644 --- a/app/views/shared/_stream_element.mobile.haml +++ b/app/views/shared/_stream_element.mobile.haml @@ -5,7 +5,7 @@ .stream_element{:data=>{:guid=>post.id}} .right %span.time - = time_ago_in_words(obj.created_at) + = time_ago_in_words(post.created_at) = person_image_link(post.person, :size => :thumb_small)