From fca9593b4e2f25a67b1d4dd63702e5648c7fa705 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 6 Aug 2019 09:06:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E6=A0=A1=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=97=A0=E6=B3=95=E6=89=93=E5=BC=80=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/colleges_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/colleges_controller.rb b/app/controllers/colleges_controller.rb index 15f9ef8f..d95fd848 100644 --- a/app/controllers/colleges_controller.rb +++ b/app/controllers/colleges_controller.rb @@ -9,7 +9,7 @@ class CollegesController < ApplicationController # GET /colleges/id/home def home - render "common/index", :layout => false + render file: 'public/react/build/index.html', :layout => false end # home action的数据