From bf45026040f2e6dbf32a42199b6dcd322e53da64 Mon Sep 17 00:00:00 2001 From: maxwell Date: Thu, 31 Mar 2011 18:35:21 -0700 Subject: [PATCH] another small fix for the mobile site --- app/controllers/people_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)