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-rails-1.7.1 lib/active_admin/filters/dsl.rb
activeadmin-rails-1.7.0 lib/active_admin/filters/dsl.rb
activeadmin-rb-1.6.0 lib/active_admin/filters/dsl.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/filters/dsl.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/filters/dsl.rb
activeadmin-rb-1.5.2 lib/active_admin/filters/dsl.rb
activeadmin-2.9.0 lib/active_admin/filters/dsl.rb
activeadmin-2.8.1 lib/active_admin/filters/dsl.rb
activeadmin-2.8.0 lib/active_admin/filters/dsl.rb
activeadmin-rb-1.5.1 lib/active_admin/filters/dsl.rb
activeadmin-2.7.0 lib/active_admin/filters/dsl.rb
activeadmin-2.6.1 lib/active_admin/filters/dsl.rb
activeadmin-2.6.0 lib/active_admin/filters/dsl.rb
activeadmin-2.5.0 lib/active_admin/filters/dsl.rb
activeadmin-2.4.0 lib/active_admin/filters/dsl.rb
activeadmin-2.3.1 lib/active_admin/filters/dsl.rb
activeadmin-2.3.0 lib/active_admin/filters/dsl.rb
activeadmin-2.2.0 lib/active_admin/filters/dsl.rb
activeadmin-2.1.0 lib/active_admin/filters/dsl.rb
activeadmin-2.0.0 lib/active_admin/filters/dsl.rb