A platform for community discussion. Free, open, simple.
FIX: `ForumsController` doesn't need to inherit from `ApplicationController`.
Guo Xiang Tan2d354ec9b0f3
diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rbindex ec02d4e5a18..7071a04ec38 100644--- a/app/controllers/forums_controller.rb+++ b/app/controllers/forums_controller.rb@@ -1,11 +1,6 @@# frozen_string_literal: true-class ForumsController < ApplicationController-- skip_before_action :preload_json, :check_xhr- skip_before_action :authorize_mini_profiler, only: [:status]- skip_before_action :redirect_to_login_if_required, only: [:status]-+class ForumsController < ActionController::Basedef statusif $shutdownrender plain: 'shutting down', status: 500