mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Fix rubocop
This commit is contained in:
parent
66b6778243
commit
cef1f6f2b5
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
|||
class Admin::KeyrelaysController < AdminController
|
||||
load_and_authorize_resource
|
||||
|
||||
def show
|
||||
|
||||
end
|
||||
def show; end
|
||||
end
|
||||
|
|
|
@ -351,6 +351,7 @@ class Epp::EppDomain < Domain
|
|||
save(validate: false)
|
||||
end
|
||||
|
||||
# rubocop:disable Metrics/MethodLength
|
||||
def keyrelay(parsed_frame, requester)
|
||||
if registrar == requester
|
||||
errors.add(:base, :domain_already_belongs_to_the_querying_registrar) and return false
|
||||
|
@ -384,6 +385,7 @@ class Epp::EppDomain < Domain
|
|||
|
||||
true
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
||||
### VALIDATIONS ###
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue