summaryrefslogtreecommitdiff
path: root/app/models/concerns/ghost_user.rb
blob: 15278c431fb199b4adb35621b5a36007a64380af (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module GhostUser
  extend ActiveSupport::Concern

  def ghost_user?
    user && user.ghost?
  end
end