mirror of
https://github.com/internetee/registry.git
synced 2025-08-25 10:33:38 +02:00
Fixed ransack admin search
This commit is contained in:
parent
ae384e4e64
commit
aa8d8c35e8
9 changed files with 34 additions and 20 deletions
|
@ -86,6 +86,10 @@ class Nameserver < ApplicationRecord
|
|||
def hostnames
|
||||
pluck(:hostname)
|
||||
end
|
||||
|
||||
def ransackable_attributes(auth_object = nil)
|
||||
authorizable_ransackable_attributes
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue