mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 11:06:22 +00:00
fixup! fix: prevenir doble renderización
This commit is contained in:
parent
4dd75eedad
commit
061fc81cb0
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
# Muestra una página 404
|
||||
#
|
||||
# @see {https://github.com/rails/rails/issues/25106}
|
||||
def page_not_found
|
||||
self.response_body = nil
|
||||
@_response_body = nil
|
||||
|
|
Loading…
Reference in a new issue