mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 03:48:16 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
bec325352a
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,11 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
# Muestra una página 404
|
||||
def page_not_found
|
||||
self.response_body = nil
|
||||
@_response_body = nil
|
||||
|
||||
headers.delete('Location')
|
||||
|
||||
render 'application/page_not_found', status: :not_found
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue