Add form to epp users

This commit is contained in:
Martin Lensment 2014-09-30 14:27:37 +03:00
parent 0504ca7ca4
commit ba775f4e73
10 changed files with 196 additions and 3 deletions

View file

@ -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