diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index fc17827785..17a0f08fa5 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -9,7 +9,7 @@ class ErrorsController < ApplicationController event.add_metadata(:request, request.env) end - render "not_found", status: :not_found, formats: :html + render status: :not_found, formats: :html end def internal_server_error