Sha256: b7ed1dbd4a544dd9a03231229cb85658fc01c17fa989a724dd304a004039d563

Contents?: true

Size: 269 Bytes

Versions: 19

Compression:

Stored size: 269 Bytes

Contents

module Avo
  module Filters
    class <%= class_name.camelize %> < SelectFilter
      def name
        '<%= name.underscore.humanize %>'
      end

      def apply(request, query, value)
        query
      end

      def options
        {}
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
avo-0.5.0.beta1 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.10 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.9 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.8 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.7 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.6 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.5 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.4 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.3 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.2 lib/generators/avo/templates/filters/select_filter.rb
avo-0.4.1 lib/generators/avo/templates/filters/select_filter.rb
avo-0.3.2 lib/generators/avo/templates/filters/select_filter.rb
avo-0.3.1 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.5 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.4 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.3 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.2 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.1 lib/generators/avo/templates/filters/select_filter.rb
avo-0.2.0 lib/generators/avo/templates/filters/select_filter.rb