master
class PostsController < ApplicationController before_action :authenticate_user! layout 'student' def versions @post = authorize(Post.live.find(params[:id])) end end