From ae8b6b82f11d4ec77c9ed2a06142b0a25224d5ce Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Wed, 14 Oct 2020 16:09:23 +0800 Subject: [PATCH] FIX forums page 500 bug --- app/controllers/forums_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb index f93964ce..05cf1009 100644 --- a/app/controllers/forums_controller.rb +++ b/app/controllers/forums_controller.rb @@ -39,7 +39,7 @@ class ForumsController < ApplicationController private def render_react - render "/common/index", :layout => false + render file: 'public/react/build/index.html', :layout => false end end