remove deprecation warning about outdated render call
This commit is contained in:
parent
8a759c3aca
commit
edc9d75df7
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ class PeopleController < ApplicationController
|
||||||
respond_to :js, :only => [:tag_index]
|
respond_to :js, :only => [:tag_index]
|
||||||
|
|
||||||
rescue_from ActiveRecord::RecordNotFound do
|
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
|
end
|
||||||
|
|
||||||
helper_method :search_query
|
helper_method :search_query
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue