Return content for /status

This commit is contained in:
Donovan Daniels 2024-06-03 03:04:07 -05:00
parent 5f21292985
commit 3852b65d35
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA

View File

@ -116,6 +116,7 @@ class ApplicationController < ActionController::Base
end
def not_found(code: nil)
return online if params[:other] == "status"
@code = code
respond_to do |fmt|
fmt.any { render("static/not_found", status: 404) }