Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: use correct link and avatar for editors
  • Loading branch information
Christian Kruse committed May 4, 2015
1 parent 5b5edd0 commit fe8134b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/message_helper.rb
Expand Up @@ -239,8 +239,8 @@ def message_header(thread, message, opts = {})
if opts[:show_editor] && message.editor_id
html << ", " + t('messages.edited_by') +
" <span class=\"registered-user editor\">".html_safe +
link_to(image_tag(message.owner.avatar(:thumb), class: 'avatar'),
user_path(message.owner),
link_to(image_tag(message.editor.avatar(:thumb), class: 'avatar'),
user_path(message.editor),
title: t('messages.user_link', user: message.editor.username),
class: 'user-link') + " " + message.editor.username + "</span> ".html_safe

Expand Down

0 comments on commit fe8134b

Please sign in to comment.