debian-mirror-gitlab/app/models/concerns/ghost_user.rb
2017-08-17 22:00:37 +05:30

7 lines
102 B
Ruby

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