mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Fixed ransack attributes
This commit is contained in:
parent
aa8d8c35e8
commit
33175eea88
19 changed files with 63 additions and 59 deletions
|
@ -5,12 +5,12 @@ module ApiLog
|
|||
# for a configuration lookup is deprecated
|
||||
establish_connection "api_log_#{Rails.env}".to_sym
|
||||
|
||||
def self.ransackable_associations(auth_object = nil)
|
||||
super
|
||||
def self.ransackable_associations(*)
|
||||
authorizable_ransackable_associations
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
super
|
||||
def self.ransackable_attributes(*)
|
||||
authorizable_ransackable_attributes
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue