class PostsController < ApplicationController
before_action :authenticate!
def index
@site = find_site
end
def show
@post = find_post(@site)