Pass registrar in URL instead of POST params

This commit is contained in:
Artur Beljajev 2019-12-09 20:53:58 +02:00
parent 044bf9caad
commit 3c5c0c4310
5 changed files with 10 additions and 35 deletions

View file

@ -28,7 +28,6 @@ class ApiUser < User
delegate :code, :name, to: :registrar, prefix: true
alias_attribute :login, :username
attr_accessor :registrar_typeahead
SUPER = 'super'
EPP = 'epp'
@ -53,10 +52,6 @@ class ApiUser < User
end
end
def registrar_typeahead
@registrar_typeahead || registrar || nil
end
def to_s
username
end