in words is not a helper

This commit is contained in:
maxwell 2010-12-17 11:05:58 -08:00
parent 0bdb6aaab5
commit 39deac62fb

View file

@ -1,6 +1,6 @@
%ul %ul
- @notifications.each do |note| - @notifications.each do |note|
%h2= Date.parse(note.created_at.to_s).in_words %h2= Date.parse(note.created_at.to_s)
%li %li
%h3 %h3
= link_to "#{note.person.name.titleize}", person_path(note.person) = link_to "#{note.person.name.titleize}", person_path(note.person)