Exception: ActiveAdmin::Filters::Disabled
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ActiveAdmin::Filters::Disabled
- Defined in:
- lib/active_admin/filters/resource_extension.rb
Instance Method Summary collapse
-
#initialize(action) ⇒ Disabled
constructor
A new instance of Disabled.
Constructor Details
#initialize(action) ⇒ Disabled
Returns a new instance of Disabled.
6 7 8 |
# File 'lib/active_admin/filters/resource_extension.rb', line 6 def initialize(action) super "Cannot #{action} a filter when filters are disabled. Enable filters with 'config.filters = true'" end |