Exception: ActiveAdmin::Filters::Disabled

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/active_admin/filters/resource_extension.rb

Instance Method Summary collapse

Constructor Details

#initialize(action) ⇒ Disabled

Returns a new instance of Disabled.



7
8
9
# File 'lib/active_admin/filters/resource_extension.rb', line 7

def initialize(action)
  super "Cannot #{action} a filter when filters are disabled. Enable filters with 'config.filters = true'"
end