mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Pass registrar in URL instead of POST params
This commit is contained in:
parent
044bf9caad
commit
3c5c0c4310
5 changed files with 10 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue