sync
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
class ArtistVersionsController < ApplicationController
|
||||
def index
|
||||
end
|
||||
respond_to :html, :xml, :json
|
||||
|
||||
def show
|
||||
end
|
||||
def index
|
||||
@artist = Artist.find(params[:artist_id])
|
||||
@artist_versions = ArtistVersion.paginate :order => "version desc", :per_page => 25, :page => params[:page], :conditions => ["artist_id = ?", @artist.id]
|
||||
respond_with(@artist_versions)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user