VRFS-2128 use recording owner for displaying name and hover in feed to ensure it matches avatar

This commit is contained in:
Brian Smith 2014-10-29 23:33:48 -04:00
parent a310c46288
commit 3898857dbf
1 changed files with 2 additions and 2 deletions

View File

@ -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)