remove artist version blank search

This commit is contained in:
albert
2013-01-07 15:58:42 -05:00
parent 0a769e5aaf
commit d6ae894097

View File

@@ -2,8 +2,7 @@ class ArtistVersionsController < ApplicationController
respond_to :html, :xml, :json
def index
@search = ArtistVersion.search(params[:search])
@artist_versions = @search.paginate(params[:page])
@artist_versions = ArtistVersion.search(params[:search]).paginate(params[:page])
respond_with(@artist_versions)
end
end