mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Rubocop update
This commit is contained in:
parent
2d1166cd08
commit
4abf005241
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue