mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
parent
d64686777c
commit
b11b6f7d8b
10 changed files with 33 additions and 20 deletions
15
app/controllers/registrar/domain_transfers_controller.rb
Normal file
15
app/controllers/registrar/domain_transfers_controller.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
class Registrar
|
||||
class DomainTransfersController < DeppController
|
||||
before_action do
|
||||
authorize! :transfer, Depp::Domain
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def create
|
||||
domain = Depp::Domain.new(current_user: depp_current_user)
|
||||
@data = domain.transfer(params)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue