class ArtistController < ApplicationController
	def view
		@artist = Artist.getByName(params[:name])
		@albums = ReleaseGroup.getArtistAlbums(@artist.id)
		rg_ids = []
		@albums.each do |a|
			rg_ids << a.id
		end
		@releases = Release.getReleases(rg_ids, true, true);
	end
end