class ApplicationPolicy
def create?
def create? true end
def destroy?
def destroy? false end
def edit?
def edit? update? end
def history?
def history? create? end
def index?
def index? false end
def initialize(user, record)
def initialize(user, record) @user = user @record = record end
def new?
def new? create? end
def show?
def show? true end
def update?
def update? false end