Fix rubocop

This commit is contained in:
Martin Lensment 2014-12-22 13:56:14 +02:00
parent 66b6778243
commit cef1f6f2b5
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,5 @@
class Admin::KeyrelaysController < AdminController
load_and_authorize_resource
def show
end
def show; end
end

View file

@ -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 ###