mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Refactor admin interface under namespace
This commit is contained in:
parent
0c3105a159
commit
a3b04786cf
7 changed files with 18 additions and 18 deletions
|
@ -247,7 +247,7 @@ class Domain < ActiveRecord::Base
|
|||
def approve_pending_transfer(current_user)
|
||||
pt = pending_transfer
|
||||
if current_user.registrar != pt.transfer_from
|
||||
add_epp_error('2304', nil, nil, I18n.t('transfer_can_be_approved_only_by_current_registrar'))
|
||||
add_epp_error('2304', nil, nil, I18n.t('shared.transfer_can_be_approved_only_by_current_registrar'))
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue