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