5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-12 02:26:57 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-13 19:40:45 +00:00
commit bec325352a

View file

@ -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