@ -32,6 +32,10 @@ class CategoriesController < ApplicationController
private
def render_react
if LocalSetting.first.try(:exam) && !current_user.admin?
render_403
else
render "/common/index", :layout => false
end
@ -28,8 +28,12 @@ class ForumsController < ApplicationController