From 5be3fdc99d09e18b4bd9b5fb7adc15b5f147486b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20de=20Villamil?= Date: Sun, 11 Aug 2013 14:55:47 +0200 Subject: [PATCH] Uses user's nickname instead of Twitter handle on statuses display. --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a9a7e7dba6..da39221308 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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)