class ArtistController < ApplicationController
def view
@artist = Artist.getByName(params[:name])
@albums = ReleaseGroup.getArtistAlbums(@artist.id)
ids = []
@albums.each do |a|
ids << a.id
end