Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

:unacceptable is not a recognized rails status code

Cyril Rohrc2ce445ef10b
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb
index f7aa7a827eb..5b6fcbcce10 100644
--- a/app/controllers/errors_controller.rb
+++ b/app/controllers/errors_controller.rb
@@ -12,7 +12,7 @@ class ErrorsController < ApplicationController
def unacceptable
render file: "#{Rails.public_path.join('422.html')}",
- status: :unacceptable,
+ status: :not_acceptable,
layout: false
end