From 4f06151277ad1af5ab5ebd3e3c01be7fd753a2da Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 16 Oct 2019 16:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E6=A3=80=E6=B5=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/main_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 0e2628c3e..869ba27f6 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -1,5 +1,5 @@ class MainController < ApplicationController def index - render file: 'public/react/build/index.html', :layout => false + render file: 'public/react/build/index', formats: [:html] end end \ No newline at end of file