diff options
Diffstat (limited to 'app/models/concerns/ghost_user.rb')
-rw-r--r-- | app/models/concerns/ghost_user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/ghost_user.rb b/app/models/concerns/ghost_user.rb index 15278c431fb..e7255ae710a 100644 --- a/app/models/concerns/ghost_user.rb +++ b/app/models/concerns/ghost_user.rb @@ -4,6 +4,6 @@ module GhostUser extend ActiveSupport::Concern def ghost_user? - user && user.ghost? + user&.ghost? end end |