mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Move actions to own namespace
This commit is contained in:
parent
115cefc0cf
commit
d7f01f24a2
19 changed files with 27 additions and 26 deletions
|
@ -10,7 +10,7 @@ module Repp
|
|||
param :transfer_code, String, required: true, desc: 'Renew period. Month (m) or year (y)'
|
||||
end
|
||||
def create
|
||||
action = Actions::DomainTransfer.new(@domain, transfer_params[:transfer][:transfer_code],
|
||||
action = ::Actions::DomainTransfer.new(@domain, transfer_params[:transfer][:transfer_code],
|
||||
current_user.registrar)
|
||||
|
||||
unless action.call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue