diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index 3eb24a684..5aed0af7a 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -25,7 +25,7 @@ class PeopleController < ApplicationController render :json => @people end - format.html do + format.all do @people = Person.search(params[:q], current_user).paginate :page => params[:page], :per_page => limit @hashes = hashes_for_people(@people, @aspects)