Return content for /status
This commit is contained in:
parent
5f21292985
commit
3852b65d35
@ -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) }
|
||||
|
Loading…
Reference in New Issue
Block a user