Add consumer ID to ransack filter
This commit is contained in:
@ -14,4 +14,8 @@ class Consumer < ApplicationRecord
|
|||||||
def to_s
|
def to_s
|
||||||
name
|
name
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.ransackable_attributes(_auth_object = nil)
|
||||||
|
%w[id]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user