Skip to content

Commit

Permalink
Uses user's nickname instead of Twitter handle on statuses display.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 11, 2013
1 parent b41d064 commit 5be3fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -94,7 +94,7 @@ def author_picture(status)
return if status.user.twitter_profile_image.nil? or status.user.twitter_profile_image.empty?
return if status.twitter_id.nil? or status.twitter_id.empty?

image_tag(status.user.twitter_profile_image , class: "alignleft", alt: status.user.twitter_account)
image_tag(status.user.twitter_profile_image , class: "alignleft", alt: status.user.nickname)
end

def view_on_twitter(status)
Expand Down

0 comments on commit 5be3fdc

Please sign in to comment.