debian-mirror-gitlab/app/models/concerns/ghost_user.rb
2018-11-20 20:47:30 +05:30

9 lines
133 B
Ruby

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