mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
keyrelay turned off, ability update
This commit is contained in:
parent
d00564f243
commit
a37f4b2e6a
8 changed files with 36 additions and 19 deletions
|
@ -1,6 +1,4 @@
|
|||
class Epp::DomainsController < EppController
|
||||
skip_authorization_check # TODO: remove it
|
||||
|
||||
before_action :find_domain, only: [:info, :renew, :update, :transfer, :delete]
|
||||
before_action :find_password, only: [:info, :update, :transfer, :delete]
|
||||
|
||||
|
@ -44,6 +42,8 @@ class Epp::DomainsController < EppController
|
|||
|
||||
# rubocop:disable Metrics/CyclomaticComplexity
|
||||
def delete
|
||||
authorize! :delete, @domain, @password
|
||||
|
||||
# all includes for bullet
|
||||
@domain = Epp::Domain.where(id: @domain.id).includes(nameservers: :versions).first
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue