note on security

main
Sebskyo 2025-03-02 08:56:51 +01:00
parent 3d7a033f08
commit da5286dc86
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class ApplicationController < ActionController::Base
end
def access_denied
# NOTE: For security reasons, consider using 404 when denied access to a read operation.
render 'application/access_denied', status: :unauthorized
end