diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 121d2df..c042a5e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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) }