module Revelry::Content::ControllerAuthorization

Public Instance Methods

check_authorization() click to toggle source
# File lib/revelry/content/admin_concern.rb, line 9
def check_authorization
  throw "Unauthorized" unless Revelry::Content.config.authorize(self)
end