Commit 576ad4453afbcf8a68e6740bf66d9c1365f9e44c

Authored by Dmitriy Zaporozhets
1 parent adc51a9b

Replace all occurs of {{created_at}} at project wall

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/assets/javascripts/wall.js.coffee
... ... @@ -60,7 +60,7 @@ class Wall
60 60 renderNote: (note) ->
61 61 template = @noteTemplate()
62 62 template = template.replace('{{author_name}}', note.author.name)
63   - template = template.replace('{{created_at}}', note.created_at)
  63 + template = template.replace(/{{created_at}}/g, note.created_at)
64 64 template = template.replace('{{text}}', linkify(sanitize(note.body)))
65 65  
66 66 if note.attachment
... ...