mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
Fixed codeclimate issues
This commit is contained in:
parent
6bf3819894
commit
0069d57c6f
4 changed files with 7 additions and 3 deletions
|
@ -78,8 +78,8 @@ class WhiteIp < ApplicationRecord
|
|||
%w[IPv4 IPv6 Interfaces Created Updated]
|
||||
end
|
||||
|
||||
def ransackable_attributes(auth_object = nil)
|
||||
["created_at", "creator_str", "id", "interfaces", "ipv4", "ipv6", "registrar_id", "updated_at", "updator_str"]
|
||||
def ransackable_attributes(*)
|
||||
authorizable_ransackable_attributes
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue