gitlab-org--gitlab-foss/app/models/concerns/ghost_user.rb

10 lines
133 B
Ruby

# frozen_string_literal: true
module GhostUser
extend ActiveSupport::Concern
def ghost_user?
user && user.ghost?
end
end