Add controller, routes, and templates for other error pages

This commit is contained in:
Andy Smith
2025-07-29 13:32:00 -05:00
parent da546109a5
commit 84b8bb0a43
14 changed files with 233 additions and 646 deletions
+25
View File
@@ -0,0 +1,25 @@
class ErrorsController < ApplicationController
require_untenanted_access
layout "error"
def bad_request
render status: :bad_request
end
def not_found
render status: :not_found
end
def not_acceptable
render status: :not_acceptable
end
def unprocessable_entity
render status: :unprocessable_entity
end
def internal_server_error
render status: :internal_server_error
end
end