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-1.0.0.pre4 lib/active_admin/filters/dsl.rb
activeadmin-1.0.0.pre3 lib/active_admin/filters/dsl.rb
activeadmin-1.0.0.pre2 lib/active_admin/filters/dsl.rb
activeadmin-1.0.0.pre1 lib/active_admin/filters/dsl.rb
yousty-activeadmin-1.0.7.pre lib/active_admin/filters/dsl.rb
yousty-activeadmin-1.0.6.pre lib/active_admin/filters/dsl.rb
yousty-activeadmin-1.0.5.pre lib/active_admin/filters/dsl.rb
active_administration-0.0.3 lib/active_admin/filters/dsl.rb
activeadministration-0.0.2 lib/active_admin/filters/dsl.rb
active_administration-0.0.2 lib/active_admin/filters/dsl.rb
activeadministration-0.0.1 lib/active_admin/filters/dsl.rb
active_administration-0.0.1 lib/active_admin/filters/dsl.rb