class PostsController < ApplicationController before_action :authenticate! def index @site = find_site end end