Module: GhostUser

Extended by:
ActiveSupport::Concern
Included in:
AwardEmoji
Defined in:
app/models/concerns/ghost_user.rb

Instance Method Summary collapse

Instance Method Details

#ghost_user?Boolean

Returns:

  • (Boolean)

6
7
8
# File 'app/models/concerns/ghost_user.rb', line 6

def ghost_user?
  user && user.ghost?
end