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的数据