Rename home#index to react#react

This commit is contained in:
Alex Gleason
2019-11-17 19:26:13 -06:00
parent d524741a3a
commit 0aed68a7e3
3 changed files with 16 additions and 16 deletions

View File

@@ -1,12 +1,12 @@
# frozen_string_literal: true
class HomeController < ApplicationController
before_action :authenticate_user!
before_action :set_referrer_policy_header
before_action :set_initial_state_json
before_action :set_data_for_meta
class ReactController < ApplicationController
before_action :authenticate_user!, only: :react
before_action :set_referrer_policy_header, only: :react
before_action :set_initial_state_json, only: :react
before_action :set_data_for_meta, only: :react
def index
def react
@body_classes = 'app-body'
end