mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 17:06:21 +00:00
parent
630f6b31fc
commit
4dd75eedad
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,11 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# Muestra una página 404
|
# Muestra una página 404
|
||||||
def page_not_found
|
def page_not_found
|
||||||
|
self.response_body = nil
|
||||||
|
@_response_body = nil
|
||||||
|
|
||||||
|
headers.delete('Location')
|
||||||
|
|
||||||
render 'application/page_not_found', status: :not_found
|
render 'application/page_not_found', status: :not_found
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue