debian-mirror-gitlab/app/models/concerns/ghost_user.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
133 B
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module GhostUser
extend ActiveSupport::Concern
def ghost_user?
user && user.ghost?
end
end