mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Fixed ransack attributes
This commit is contained in:
parent
aa8d8c35e8
commit
33175eea88
19 changed files with 63 additions and 59 deletions
|
@ -10,8 +10,8 @@ class BankStatement < ApplicationRecord
|
|||
PARTIALLY_BINDED = 'partially_binded'.freeze
|
||||
NOT_BINDED = 'not_binded'.freeze
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
super
|
||||
def self.ransackable_attributes(*)
|
||||
authorizable_ransackable_attributes
|
||||
end
|
||||
|
||||
# TODO: Cache this to database so it can be used for searching
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue