class ApplicationController < ActionController::Base protect_from_forgery with: :exception def index redirect_to sites_path end end