mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
fixed country depricated
This commit is contained in:
parent
08cb700069
commit
66c9e5d66b
4 changed files with 2 additions and 4 deletions
|
@ -5,7 +5,6 @@ class AdminUser < User
|
|||
validates :email, presence: true
|
||||
|
||||
validate :validate_identity_code, if: -> { country_code == 'EE' }
|
||||
belongs_to :country_deprecated, foreign_key: :country_id
|
||||
|
||||
ROLES = %w(user customer_service admin)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue