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