From 39deac62fb32a7cd96f253b340c4802a413cdf69 Mon Sep 17 00:00:00 2001 From: maxwell Date: Fri, 17 Dec 2010 11:05:58 -0800 Subject: [PATCH] in words is not a helper --- app/views/notifications/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index b87de6a4d..6daf43675 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -1,6 +1,6 @@ %ul - @notifications.each do |note| - %h2= Date.parse(note.created_at.to_s).in_words + %h2= Date.parse(note.created_at.to_s) %li %h3 = link_to "#{note.person.name.titleize}", person_path(note.person)