From 4abf00524186d4b6b4cc0504105c248bccab3553 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 19 Aug 2015 11:10:11 +0300 Subject: [PATCH] Rubocop update --- app/models/ability.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index a9efb046b..7b805b952 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -114,7 +114,6 @@ class Ability can(:delete, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw } can(:renew, Epp::Contact) can(:view_password, Epp::Contact) { |c, pw| c.registrar_id == @user.registrar_id || c.auth_info == pw } - end def static_registrar @@ -141,11 +140,7 @@ class Ability can :show, :dashboard end - - # rubocop: enable Metrics/LineLength # rubocop: enable Metrics/CyclomaticComplexity # rubocop: enable Metrics/PerceivedComplexity - - end