mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add form to epp users
This commit is contained in:
parent
0504ca7ca4
commit
ba775f4e73
10 changed files with 196 additions and 3 deletions
|
@ -2,4 +2,14 @@ class EppUser < ActiveRecord::Base
|
|||
# TODO should have max request limit per day
|
||||
belongs_to :registrar
|
||||
has_many :contacts
|
||||
|
||||
attr_accessor :registrar_typeahead
|
||||
|
||||
def registrar_typeahead
|
||||
@registrar_typeahead || registrar || nil
|
||||
end
|
||||
|
||||
def to_s
|
||||
username
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue