Registrant User: Fix UUID ident parsing

This commit is contained in:
Karl Erik Õunapuu 2021-02-26 13:50:18 +02:00
parent 40b7897e4b
commit ea2f9dcbb6
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -9,7 +9,7 @@ class RegistrantUser < User
delegate :can?, :cannot?, to: :ability
def ident
registrant_ident.to_s.split('-').last
registrant_ident.to_s.slice(3)
end
def country