in words is not a helper
This commit is contained in:
parent
0bdb6aaab5
commit
39deac62fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue