remove artist version blank search
This commit is contained in:
@@ -2,8 +2,7 @@ class ArtistVersionsController < ApplicationController
|
|||||||
respond_to :html, :xml, :json
|
respond_to :html, :xml, :json
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@search = ArtistVersion.search(params[:search])
|
@artist_versions = ArtistVersion.search(params[:search]).paginate(params[:page])
|
||||||
@artist_versions = @search.paginate(params[:page])
|
|
||||||
respond_with(@artist_versions)
|
respond_with(@artist_versions)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user