Sha256: d0bcaf5e03af23bf41ea61aa337d555de4afa39089d5beb19a7bce0285254036

Contents?: true

Size: 604 Bytes

Versions: 72

Compression:

Stored size: 604 Bytes

Contents

module ActiveAdmin
  module Filters
    module DSL

      # For docs, please see ActiveAdmin::Filters::ResourceExtension#add_filter
      def filter(attribute, options = {})
        config.add_filter(attribute, options)
      end

      # For docs, please see ActiveAdmin::Filters::ResourceExtension#remove_filter
      def remove_filter(*attributes)
        config.remove_filter(*attributes)
      end

      # For docs, please see ActiveAdmin::Filters::ResourceExtension#preserve_default_filters!
      def preserve_default_filters!
        config.preserve_default_filters!
      end
    end
  end
end

Version data entries

72 entries across 72 versions & 9 rubygems

Version Path
activeadmin-rb-1.5.0 lib/active_admin/filters/dsl.rb
activeadmin-2.0.0.rc2 lib/active_admin/filters/dsl.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin-2.0.0.rc1 lib/active_admin/filters/dsl.rb
activeadmin-rb-1.4.0 lib/active_admin/filters/dsl.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin-1.4.3 lib/active_admin/filters/dsl.rb
activeadmin-1.4.2 lib/active_admin/filters/dsl.rb
activeadmin-1.4.1 lib/active_admin/filters/dsl.rb
activeadmin-1.4.0 lib/active_admin/filters/dsl.rb
activeadmin-1.3.1 lib/active_admin/filters/dsl.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin-1.3.0 lib/active_admin/filters/dsl.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb
activeadmin-1.2.1 lib/active_admin/filters/dsl.rb
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/lib/active_admin/filters/dsl.rb
activeadmin-1.2.0 lib/active_admin/filters/dsl.rb