9 lines
133 B
Ruby
9 lines
133 B
Ruby
# frozen_string_literal: true
|
|
|
|
module GhostUser
|
|
extend ActiveSupport::Concern
|
|
|
|
def ghost_user?
|
|
user && user.ghost?
|
|
end
|
|
end
|