diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index e27778e0560296e9854fc77f72e32fd018382842..5ed13eaf28422c9677abfcea764d3efdfb6b0c5c 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -13,7 +13,8 @@ class PeopleController < ApplicationController respond_to :js, :only => [:tag_index] rescue_from ActiveRecord::RecordNotFound do - render :file => Rails.root.join('public', '404.html').to_s, :layout => false, :status => 404 + render :file => Rails.root.join('public', '404').to_s, + :format => :html, :layout => false, :status => 404 end helper_method :search_query