module Destiny::Controller

Public Instance Methods

grant_required() click to toggle source
# File app/controllers/concerns/destiny/controller.rb, line 4
def grant_required
  access_denied unless current_user.try(:has_grant?, controller_path, action_name)
end