Album pics from last.fm
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<% @artist.albums.each do |album| %>
|
||||
<% unless album.releases.empty? %>
|
||||
<div class="album">
|
||||
<div class="pic"></div>
|
||||
<div class="pic"><img src="<%= album.cover(@artist.name) %>" width="250" height="250" alt=""/></div>
|
||||
<h3 class="name"><%= album.name %> <%= (album.year ? album.year : '') %></h3>
|
||||
<%
|
||||
releases = album.releases
|
||||
|
||||
Reference in New Issue
Block a user