diff options
Diffstat (limited to 'app/assets/javascripts/wall.js.coffee')
-rw-r--r-- | app/assets/javascripts/wall.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/wall.js.coffee b/app/assets/javascripts/wall.js.coffee index 4f71e6e0c35..4cc11331aca 100644 --- a/app/assets/javascripts/wall.js.coffee +++ b/app/assets/javascripts/wall.js.coffee @@ -64,7 +64,7 @@ class Wall template = template.replace('{{text}}', simpleFormat(note.body)) if note.attachment - file = '<i class="icon-paper-clip"/><a href="/files/note/' + note.id + '/' + note.attachment + '">' + note.attachment + '</a>' + file = '<i class="icon-paper-clip"/><a href="' + gon.relative_url_root + '/files/note/' + note.id + '/' + note.attachment + '">' + note.attachment + '</a>' else file = '' template = template.replace('{{file}}', file) |