From 3898857dbfbdb96df6ac06eb240b4ca741f64cec Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Wed, 29 Oct 2014 23:33:48 -0400 Subject: [PATCH] VRFS-2128 use recording owner for displaying name and hover in feed to ensure it matches avatar --- web/app/helpers/feeds_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/helpers/feeds_helper.rb b/web/app/helpers/feeds_helper.rb index 38abfff85..d86ee3253 100644 --- a/web/app/helpers/feeds_helper.rb +++ b/web/app/helpers/feeds_helper.rb @@ -75,11 +75,11 @@ module FeedsHelper end def recording_artist_name(recording) - (recording.band.nil? ? nil : recording.band.name) || recording.candidate_claimed_recording.user.name + (recording.band.nil? ? nil : recording.band.name) || recording.owner.name end def recording_artist_id(recording) - (recording.band.nil? ? nil : recording.band.id) || recording.candidate_claimed_recording.user.id + (recording.band.nil? ? nil : recording.band.id) || recording.owner.id end def recording_artist_hoveraction(recording)