Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ghost_user.rb « concerns « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e7255ae710a779e6fcef34d8970fce3b726f68c9 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module GhostUser
  extend ActiveSupport::Concern

  def ghost_user?
    user&.ghost?
  end
end