Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def artist_name
- if @artist_name
- @artist_name
- elsif composition
- composition.artist.name
- else
- ""
- end
- end
- def composition_name
- if @composition_name
- @composition_name
- elsif composition
- composition.name
- else
- ""
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement